|
@@ -31,7 +31,7 @@
|
|
(defined(CONFIG_DVB_CXD2099_MODULE) && defined(MODULE))
|
|
(defined(CONFIG_DVB_CXD2099_MODULE) && defined(MODULE))
|
|
struct dvb_ca_en50221 *cxd2099_attach(u8 adr, void *priv, struct i2c_adapter *i2c);
|
|
struct dvb_ca_en50221 *cxd2099_attach(u8 adr, void *priv, struct i2c_adapter *i2c);
|
|
#else
|
|
#else
|
|
-struct dvb_ca_en50221 *cxd2099_attach(u8 adr, void *priv, struct i2c_adapter *i2c)
|
|
|
|
|
|
+static inline struct dvb_ca_en50221 *cxd2099_attach(u8 adr, void *priv, struct i2c_adapter *i2c)
|
|
{
|
|
{
|
|
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
|
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
|
return NULL;
|
|
return NULL;
|