tda18271c2dd: Fix compilation when module is not selected

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab 2011-07-11 15:47:40 -03:00
parent ea4d03d138
commit 01434faf6d

View file

@ -6,7 +6,7 @@ struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, u8 adr);
#else
static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, u8 adr) {
struct i2c_adapter *i2c, u8 adr)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL;