summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/dibx000_common.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-26 08:47:12 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-11-26 08:47:12 +0100
commit891faaaa42567c3609045cff7972d61268b53b8e (patch)
tree96dd8ac4262bb382966109878286aa8388103e05 /linux/drivers/media/dvb/frontends/dibx000_common.c
parentd6fee5ac91e4b7196341e6da1708ce5b4481cd79 (diff)
parent1f3f7671e12715041b3b002db1403ce4da682fda (diff)
downloadmediapointer-dvb-s2-891faaaa42567c3609045cff7972d61268b53b8e.tar.gz
mediapointer-dvb-s2-891faaaa42567c3609045cff7972d61268b53b8e.tar.bz2
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dibx000_common.c')
-rw-r--r--linux/drivers/media/dvb/frontends/dibx000_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/dibx000_common.c b/linux/drivers/media/dvb/frontends/dibx000_common.c
index a8e3a950c..6f1f41ae3 100644
--- a/linux/drivers/media/dvb/frontends/dibx000_common.c
+++ b/linux/drivers/media/dvb/frontends/dibx000_common.c
@@ -1,6 +1,7 @@
#include <linux/i2c.h>
#include "dibx000_common.h"
+#include "compat.h"
static int debug;
module_param(debug, int, 0644);
@@ -107,6 +108,9 @@ static int dibx000_i2c_gated_tuner_xfer(struct i2c_adapter *i2c_adap, struct i2c
static struct i2c_algorithm dibx000_i2c_gated_tuner_algo = {
.master_xfer = dibx000_i2c_gated_tuner_xfer,
.functionality = dibx000_i2c_func,
+#ifdef NEED_ALGO_CONTROL
+ .algo_control = dummy_algo_control,
+#endif
};
struct i2c_adapter * dibx000_get_i2c_adapter(struct dibx000_i2c_master *mst, enum dibx000_i2c_interface intf, int gating)