tda18271c2dd: Fix compilation when module is not selected
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
ea4d03d138
commit
01434faf6d
|
@ -6,7 +6,7 @@ struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
|
||||||
struct i2c_adapter *i2c, u8 adr);
|
struct i2c_adapter *i2c, u8 adr);
|
||||||
#else
|
#else
|
||||||
static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
|
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__);
|
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue