aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cx24120.h
diff options
context:
space:
mode:
authorPatrick Boettcher <patrick.boettcher@posteo.de>2015-04-28 13:39:20 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-18 16:33:55 -0300
commit1ff2e8ed28e96f49b0f98b9a86e755ddd1a1078b (patch)
treeb2170ff71734aab811c1253de3c3b2392f816280 /drivers/media/dvb-frontends/cx24120.h
parent2e89a5e085ca301506fb28793dd16f9f147ccc06 (diff)
[media] cx24120: fix strict checkpatch-errors
This patches fixes all checkpatch-errors. Even the ones created --strict. Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
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;