diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2007-10-08 18:51:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 17:53:18 -0200 |
commit | ae9902da96b4d2d82707706c7fbc93a8e501dde8 (patch) | |
tree | 6de6c61a449db3847f676120bc18d8d441febf2e /drivers/media/dvb/frontends/tda8261.h | |
parent | e0ee77acb1b849ce0ad729aff2427d3dc07ee5d1 (diff) | |
download | blackbird-op-linux-ae9902da96b4d2d82707706c7fbc93a8e501dde8.tar.gz blackbird-op-linux-ae9902da96b4d2d82707706c7fbc93a8e501dde8.zip |
V4L/DVB (9417): DVB_ATTACH for STB0899, STB6100, TDA8261
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/tda8261.h')
-rw-r--r-- | drivers/media/dvb/frontends/tda8261.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda8261.h b/drivers/media/dvb/frontends/tda8261.h index 1381d8e22a83..a1814d39f63d 100644 --- a/drivers/media/dvb/frontends/tda8261.h +++ b/drivers/media/dvb/frontends/tda8261.h @@ -15,8 +15,22 @@ struct tda8261_config { enum tda8261_step step_size; }; +#if defined(CONFIG_DVB_TDA8261) || (defined(CONFIG_DVB_TDA8261_MODULE) && defined(MODULE)) + extern struct dvb_frontend *tda8261_attach(struct dvb_frontend *fe, const struct tda8261_config *config, struct i2c_adapter *i2c); +#else + +static inline struct dvb_frontend *tda8261_attach(struct dvb_frontend *fe, + const struct tda8261_config *config, + struct i2c_adapter *i2c) +{ + printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__); + return NULL; +} + +#endif //CONFIG_DVB_TDA8261 + #endif// __TDA8261_H |