]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[media] smiapp: Make pixel_order_str static
authorSakari Ailus <sakari.ailus@iki.fi>
Sun, 1 Feb 2015 00:11:46 +0000 (21:11 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 20:28:36 +0000 (17:28 -0300)
pixel_order_str is only referred to in smiapp-core.c, it should be thus
static. Thanks to Hans Verkuil for pointing this out.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c

index 6de10f94cff799c9a5f10e738b24e26de50bbbd6..f062f43de354f4d10a9cde3ed7779aedaffafa83 100644 (file)
@@ -344,7 +344,7 @@ static const struct smiapp_csi_data_format smiapp_csi_data_formats[] = {
        { MEDIA_BUS_FMT_SGBRG8_1X8, 8, 8, SMIAPP_PIXEL_ORDER_GBRG, },
 };
 
-const char *pixel_order_str[] = { "GRBG", "RGGB", "BGGR", "GBRG" };
+static const char *pixel_order_str[] = { "GRBG", "RGGB", "BGGR", "GBRG" };
 
 #define to_csi_format_idx(fmt) (((unsigned long)(fmt)                  \
                                 - (unsigned long)smiapp_csi_data_formats) \