summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2015-01-31 21:11:46 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 17:28:36 -0300
commitcfa967224382f8ac3adbb40117be776838b91ebc (patch)
tree9a217c2e0a59f6a1ed6e8b077f1f23b45c0f797c /drivers/media/i2c
parent3f39fb0f1e52617fc502d989cac72dd3779fccd4 (diff)
downloadlinux-cfa967224382f8ac3adbb40117be776838b91ebc.tar.gz
linux-cfa967224382f8ac3adbb40117be776838b91ebc.tar.bz2
linux-cfa967224382f8ac3adbb40117be776838b91ebc.zip
[media] smiapp: Make pixel_order_str static
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>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index 6de10f94cff7..f062f43de354 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -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) \