diff options
author | Manu Abraham <manu@linuxtv.org> | 2007-10-09 01:51:54 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2007-10-09 01:51:54 +0400 |
commit | 3454ffe9fb583dfb40e766b0f85244527e381079 (patch) | |
tree | ad3315a0b675027de7cd0fcc8c092ac1b28fad76 /linux/drivers/media/dvb/frontends/tda8261.h | |
parent | ddc7e3b68aad0f78bab0d331b45b0bb86ca40c5d (diff) | |
download | mediapointer-dvb-s2-3454ffe9fb583dfb40e766b0f85244527e381079.tar.gz mediapointer-dvb-s2-3454ffe9fb583dfb40e766b0f85244527e381079.tar.bz2 |
DVB_ATTACH for STB0899, STB6100, TDA8261
From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda8261.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda8261.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda8261.h b/linux/drivers/media/dvb/frontends/tda8261.h index 1381d8e22..1e85dff81 100644 --- a/linux/drivers/media/dvb/frontends/tda8261.h +++ b/linux/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 |