Home
last modified time | relevance | path

Searched hist:"1 b3d5f2a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/i2c/
H A Dvideo-i2c.c1b3d5f2a Fri May 04 09:18:05 CDT 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 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>
1b3d5f2a Fri May 04 09:18:05 CDT 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 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>