summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-09-07 13:38:50 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-09-07 13:38:50 +0200
commitd7ee909f5bbab277d4306e914505b71a7a54898f (patch)
tree95c2f8414f7147c983bc00741138a619656f55f3 /linux
parent9289c471f054eea5b832c6f54401de3ac856b046 (diff)
downloadmediapointer-dvb-s2-d7ee909f5bbab277d4306e914505b71a7a54898f.tar.gz
mediapointer-dvb-s2-d7ee909f5bbab277d4306e914505b71a7a54898f.tar.bz2
dib7000m: fix powerpc build error
From: Hans Verkuil <hverkuil@xs4all.nl> The dib7000m_i2c_enumeration() function is not used by any public drivers, however some prototype board use it. So '#if 0' for now, but don't remove it. Thanks to Patrick Boettcher for clarifying this. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Patrick Boettcher <patrick.boettcher@desy.de>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/dib7000m.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/dib7000m.c b/linux/drivers/media/dvb/frontends/dib7000m.c
index e6968317d..763407d06 100644
--- a/linux/drivers/media/dvb/frontends/dib7000m.c
+++ b/linux/drivers/media/dvb/frontends/dib7000m.c
@@ -1320,7 +1320,9 @@ struct i2c_adapter * dib7000m_get_i2c_master(struct dvb_frontend *demod, enum di
}
EXPORT_SYMBOL(dib7000m_get_i2c_master);
-static int dib7000m_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods,
+#if 0 /* keep */
+/* used with some prototype boards */
+int dib7000m_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods,
u8 default_addr, struct dib7000m_config cfg[])
{
struct dib7000m_state st = { .i2c_adap = i2c };
@@ -1366,6 +1368,7 @@ static int dib7000m_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods,
return 0;
}
EXPORT_SYMBOL(dib7000m_i2c_enumeration);
+#endif
static struct dvb_frontend_ops dib7000m_ops;
struct dvb_frontend * dib7000m_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000m_config *cfg)