]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: lgdt330x.h: fix compiler warning
authorHans Verkuil <hansverk@cisco.com>
Fri, 11 May 2018 14:57:07 +0000 (10:57 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 11 May 2018 15:40:09 +0000 (11:40 -0400)
commit2a5f2705c97625aa1a4e1dd4d584eaa05392e060
tree9d9f7e6b9370780e4c40f9488610aad74dcf9a7e
parent3997716898a90954e00e4a5d5f1eacb94fbc41d9
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>
drivers/media/dvb-frontends/lgdt330x.h