summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/fimc-is-param.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-02 02:32:13 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-24 04:52:54 -0300
commit3263f741e45bd6571a81528a771b863dad449af0 (patch)
treefa0c78a973936979f64896cfae62e7d7f558fa32 /drivers/media/platform/exynos4-is/fimc-is-param.c
parent044c372aeb87946c64f10fe7bbe0f8c4b3222121 (diff)
downloadblackbird-op-linux-3263f741e45bd6571a81528a771b863dad449af0.tar.gz
blackbird-op-linux-3263f741e45bd6571a81528a771b863dad449af0.zip
[media] exynos4-is: Annotate unused functions
__is_set_init_isp_aa and fimc_is_hw_set_tune currently do not have any callers. However these functions may be used in the future. Hence instead of deleting them, staticize and annotate them with __maybe_unused flag to avoid compiler warnings. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-is-param.c')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-is-param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-is-param.c b/drivers/media/platform/exynos4-is/fimc-is-param.c
index a353be091a22..9bf3ddd9e028 100644
--- a/drivers/media/platform/exynos4-is/fimc-is-param.c
+++ b/drivers/media/platform/exynos4-is/fimc-is-param.c
@@ -287,7 +287,7 @@ void __is_set_sensor(struct fimc_is *is, int fps)
fimc_is_set_param_bit(is, PARAM_ISP_OTF_INPUT);
}
-void __is_set_init_isp_aa(struct fimc_is *is)
+static void __maybe_unused __is_set_init_isp_aa(struct fimc_is *is)
{
struct isp_param *isp;
OpenPOWER on IntegriCloud