[media] exynos4-is: Staticize local symbols
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 16 Apr 2013 05:02:21 +0000 (02:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 00:52:03 +0000 (21:52 -0300)
These symbols are used only in their respective files and hence
should be made static.
[s.nawrocki@samsung.com: dropped the __fimc_is_hw_update_param()
 function change]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/fimc-is-i2c.c
drivers/media/platform/exynos4-is/fimc-is-param.c
drivers/media/platform/exynos4-is/fimc-is.c

index c397777d7cbb3d0c8634a212ef8c546c3063edcb..617a798d92352e30e5342253f5fcc83aa6b18a5c 100644 (file)
@@ -96,7 +96,7 @@ static int fimc_is_i2c_resume(struct device *dev)
        return clk_prepare_enable(isp_i2c->clock);
 }
 
-UNIVERSAL_DEV_PM_OPS(fimc_is_i2c_pm_ops, fimc_is_i2c_suspend,
+static UNIVERSAL_DEV_PM_OPS(fimc_is_i2c_pm_ops, fimc_is_i2c_suspend,
                     fimc_is_i2c_resume, NULL);
 
 static const struct of_device_id fimc_is_i2c_of_match[] = {
index 53fe2a2b4db32ad3cae10b1fb688d3cd274f517f..c435db0da673973865f4450dfc2dd79747408604 100644 (file)
@@ -38,7 +38,7 @@ static void __hw_param_copy(void *dst, void *src)
        memcpy(dst, src, FIMC_IS_PARAM_MAX_SIZE);
 }
 
-void __fimc_is_hw_update_param_global_shotmode(struct fimc_is *is)
+static void __fimc_is_hw_update_param_global_shotmode(struct fimc_is *is)
 {
        struct param_global_shotmode *dst, *src;
 
@@ -47,7 +47,7 @@ void __fimc_is_hw_update_param_global_shotmode(struct fimc_is *is)
        __hw_param_copy(dst, src);
 }
 
-void __fimc_is_hw_update_param_sensor_framerate(struct fimc_is *is)
+static void __fimc_is_hw_update_param_sensor_framerate(struct fimc_is *is)
 {
        struct param_sensor_framerate *dst, *src;
 
index 47c6363d04e2ce5e6ef5d631e26223daf81c41ef..cdb6b5e2733640ab7efa879925a726300c4a37d3 100644 (file)
@@ -137,7 +137,7 @@ static int fimc_is_setup_clocks(struct fimc_is *is)
                                        ATCLK_MCUISP_FREQUENCY);
 }
 
-int fimc_is_enable_clocks(struct fimc_is *is)
+static int fimc_is_enable_clocks(struct fimc_is *is)
 {
        int i, ret;
 
@@ -157,7 +157,7 @@ int fimc_is_enable_clocks(struct fimc_is *is)
        return 0;
 }
 
-void fimc_is_disable_clocks(struct fimc_is *is)
+static void fimc_is_disable_clocks(struct fimc_is *is)
 {
        int i;
 
This page took 0.026463 seconds and 5 git commands to generate.