OSDN Git Service

media: video-i2c: get rid of two gcc warnings
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 14:18:05 +0000 (10:18 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 14:18:05 +0000 (10:18 -0400)
commit1b3d5f2ae882cfca37c4422dfd72fd455d01166a
tree2a4da0ce2a499345e1a0c8f5f1193ae9c74c030c
parentd8555fd2f45235ad58efed2f70667f0df99db001
media: video-i2c: get rid of two gcc warnings

After adding this driver, gcc complains with:

drivers/media/i2c/video-i2c.c:55:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
 const static struct v4l2_fmtdesc amg88xx_format = {
 ^~~~~
drivers/media/i2c/video-i2c.c:59:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
 const static struct v4l2_frmsize_discrete amg88xx_size = {
 ^~~~~

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