mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 07:04:44 +00:00
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>
This commit is contained in:
parent
3997716898
commit
2a5f2705c9
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *config,
|
||||||
u8 demod_address,
|
u8 demod_address,
|
||||||
struct i2c_adapter *i2c);
|
struct i2c_adapter *i2c);
|
||||||
#else
|
#else
|
||||||
static
|
static inline
|
||||||
struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *config,
|
struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *config,
|
||||||
u8 demod_address,
|
u8 demod_address,
|
||||||
struct i2c_adapter *i2c)
|
struct i2c_adapter *i2c)
|
||||||
|
|
Loading…
Reference in a new issue