diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2007-10-08 17:51:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:18 -0500 |
commit | ae9902da96b4d2d82707706c7fbc93a8e501dde8 (patch) | |
tree | 6de6c61a449db3847f676120bc18d8d441febf2e /drivers/media/dvb/frontends/stb6100.h | |
parent | e0ee77acb1b849ce0ad729aff2427d3dc07ee5d1 (diff) |
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/stb6100.h')
-rw-r--r-- | drivers/media/dvb/frontends/stb6100.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/stb6100.h b/drivers/media/dvb/frontends/stb6100.h index 771914a8a1c..395d056599a 100644 --- a/drivers/media/dvb/frontends/stb6100.h +++ b/drivers/media/dvb/frontends/stb6100.h | |||
@@ -94,8 +94,22 @@ struct stb6100_state { | |||
94 | u32 reference; | 94 | u32 reference; |
95 | }; | 95 | }; |
96 | 96 | ||
97 | struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, | 97 | #if defined(CONFIG_DVB_STB6100) || (defined(CONFIG_DVB_STB6100_MODULE) && defined(MODULE)) |
98 | struct stb6100_config* config, | 98 | |
99 | struct i2c_adapter *i2c); | 99 | extern struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, |
100 | struct stb6100_config *config, | ||
101 | struct i2c_adapter *i2c); | ||
102 | |||
103 | #else | ||
104 | |||
105 | static inline struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, | ||
106 | struct stb6100_config *config, | ||
107 | struct i2c_adapter *i2c) | ||
108 | { | ||
109 | printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__); | ||
110 | return NULL; | ||
111 | } | ||
112 | |||
113 | #endif //CONFIG_DVB_STB6100 | ||
100 | 114 | ||
101 | #endif | 115 | #endif |