Commit d4dc26eb authored by Colin Ian King's avatar Colin Ian King Committed by Mauro Carvalho Chehab

media: exynos4-is: make const array config_ids static

The const array config_ids can be made static, saves populating it on
the stack and will make it read-only.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 9a265b30
...@@ -656,7 +656,7 @@ static int fimc_is_hw_open_sensor(struct fimc_is *is, ...@@ -656,7 +656,7 @@ static int fimc_is_hw_open_sensor(struct fimc_is *is,
int fimc_is_hw_initialize(struct fimc_is *is) int fimc_is_hw_initialize(struct fimc_is *is)
{ {
const int config_ids[] = { static const int config_ids[] = {
IS_SC_PREVIEW_STILL, IS_SC_PREVIEW_VIDEO, IS_SC_PREVIEW_STILL, IS_SC_PREVIEW_VIDEO,
IS_SC_CAPTURE_STILL, IS_SC_CAPTURE_VIDEO IS_SC_CAPTURE_STILL, IS_SC_CAPTURE_VIDEO
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment