]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
media: seco-cec: declare ops as static const
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 11:59:41 +0000 (06:59 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 11:59:41 +0000 (06:59 -0500)
commita2717eae73ac4f1548fa5195adb9fafbacdfc1ad
tree012cb72318b55220efb8746d8c442adcab05ae2a
parent5609f2067691acf6748fbc84e8fbee8634bdcb9b
media: seco-cec: declare ops as static const

As warned by smatch:

drivers/media/platform/seco-cec/seco-cec.c:338:21:  warning: symbol 'secocec_cec_adap_ops' was not declared. Should it be static?

This struct should be static. Also, it is const, so declare it
as such.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/seco-cec/seco-cec.c