summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/stv6111.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/stv6111.h')
-rw-r--r--drivers/media/dvb-frontends/stv6111.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/stv6111.h b/drivers/media/dvb-frontends/stv6111.h
index 066dd70c9426..5bc1228dc9bd 100644
--- a/drivers/media/dvb-frontends/stv6111.h
+++ b/drivers/media/dvb-frontends/stv6111.h
@@ -3,13 +3,14 @@
#if IS_REACHABLE(CONFIG_DVB_STV6111)
-extern struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c, u8 adr);
+struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
+ struct i2c_adapter *i2c, u8 adr);
#else
static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c, u8 adr)
+ struct i2c_adapter *i2c,
+ u8 adr)
{
pr_warn("%s: Driver disabled by Kconfig\n", __func__);
return NULL;