diff options
author | Hans Verkuil <hansverk@cisco.com> | 2018-05-11 10:57:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-11 11:40:09 -0400 |
commit | 2a5f2705c97625aa1a4e1dd4d584eaa05392e060 (patch) | |
tree | 9d9f7e6b9370780e4c40f9488610aad74dcf9a7e /drivers/media/dvb-frontends/lgdt330x.h | |
parent | 3997716898a90954e00e4a5d5f1eacb94fbc41d9 (diff) |
media: lgdt330x.h: fix compiler warning
Add missing 'inline' to fix this compiler warning:
In file included from drivers/media/common/b2c2/flexcop-fe-tuner.c:21:0:
drivers/media/dvb-frontends/lgdt330x.h:61:22: warning: 'lgdt330x_attach' defined but not used [-Wunused-function]
struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *config,
^~~~~~~~~~~~~~~
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Suggested-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/lgdt330x.h')
-rw-r--r-- | drivers/media/dvb-frontends/lgdt330x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/lgdt330x.h b/drivers/media/dvb-frontends/lgdt330x.h index 94cc09d15ece..8ab6b39d02a8 100644 --- a/drivers/media/dvb-frontends/lgdt330x.h +++ b/drivers/media/dvb-frontends/lgdt330x.h @@ -57,7 +57,7 @@ struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *config, u8 demod_address, struct i2c_adapter *i2c); #else -static +static inline struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *config, u8 demod_address, struct i2c_adapter *i2c) |