summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cx24120.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/cx24120.h')
-rw-r--r--drivers/media/dvb-frontends/cx24120.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/media/dvb-frontends/cx24120.h b/drivers/media/dvb-frontends/cx24120.h
index e5748aaa8418..f0970423e16f 100644
--- a/drivers/media/dvb-frontends/cx24120.h
+++ b/drivers/media/dvb-frontends/cx24120.h
@@ -43,13 +43,12 @@ struct cx24120_config {
};
#if IS_REACHABLE(CONFIG_DVB_CX24120)
-extern struct dvb_frontend *cx24120_attach(
- const struct cx24120_config *config,
- struct i2c_adapter *i2c);
+struct dvb_frontend *cx24120_attach(const struct cx24120_config *config,
+ struct i2c_adapter *i2c);
#else
-static inline struct dvb_frontend *cx24120_attach(
- const struct cx24120_config *config,
- struct i2c_adapter *i2c)
+static inline
+struct dvb_frontend *cx24120_attach(const struct cx24120_config *config,
+ struct i2c_adapter *i2c)
{
pr_warn("%s: driver disabled by Kconfig\n", __func__);
return NULL;