summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2/flexcop-reg.h
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-04-28 13:25:19 +0000
committerPatrick Boettcher <devnull@localhost>2005-04-28 13:25:19 +0000
commit4335870fc9921e4c690eff9df3be152aa2e3e606 (patch)
treebd3e3e811f3c96b8040c1dfd9d9490d3e85faeee /linux/drivers/media/dvb/b2c2/flexcop-reg.h
parent5dca8a4d531cb77ab6576c5b12212007a31abde1 (diff)
downloadmediapointer-dvb-s2-4335870fc9921e4c690eff9df3be152aa2e3e606.tar.gz
mediapointer-dvb-s2-4335870fc9921e4c690eff9df3be152aa2e3e606.tar.bz2
- rewrote the i2c-reading-part (no more ack-error ignoring, which was inherited from the skystar2-driver)
- some minor cleanups
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/flexcop-reg.h')
-rw-r--r--linux/drivers/media/dvb/b2c2/flexcop-reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop-reg.h b/linux/drivers/media/dvb/b2c2/flexcop-reg.h
index 41835c528..5e131be55 100644
--- a/linux/drivers/media/dvb/b2c2/flexcop-reg.h
+++ b/linux/drivers/media/dvb/b2c2/flexcop-reg.h
@@ -692,9 +692,10 @@ typedef enum {
wan_ctrl_reg_71c = 0x71c,
} flexcop_ibi_register;
-#define flexcop_set_ibi_value(reg,attr,val) \
+#define flexcop_set_ibi_value(reg,attr,val) { \
flexcop_ibi_value v = fc->read_ibi_reg(fc,reg); \
v.reg.attr = val; \
fc->write_ibi_reg(fc,reg,v); \
+}
#endif