forked from Minki/linux
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
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user