aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/s5c73m3
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-01-29 00:32:30 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-05 14:51:18 -0500
commitc6c03915b630c2b4e488be4f21ab46703e31c16b (patch)
tree8b42c2c4876b6677f0ee5066c4f42604e3e54e2f /drivers/media/i2c/s5c73m3
parent44e2b09ca468c7c91fa4bb8058fcda38f344974a (diff)
[media] s5c73m3: Staticize some symbols
Fixes the following sparse warnings: drivers/media/i2c/s5c73m3/s5c73m3-core.c:42:5: warning: symbol 'boot_from_rom' was not declared. Should it be static? drivers/media/i2c/s5c73m3/s5c73m3-core.c:45:5: warning: symbol 'update_fw' was not declared. Should it be static? drivers/media/i2c/s5c73m3/s5c73m3-core.c:298:5: warning: symbol 's5c73m3_isp_comm_result' was not declared. Should it be static? 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>
Diffstat (limited to 'drivers/media/i2c/s5c73m3')
-rw-r--r--drivers/media/i2c/s5c73m3/s5c73m3-core.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
index 600909ddb150..b063b4ddf767 100644
--- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c
+++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
@@ -39,10 +39,10 @@
39int s5c73m3_dbg; 39int s5c73m3_dbg;
40module_param_named(debug, s5c73m3_dbg, int, 0644); 40module_param_named(debug, s5c73m3_dbg, int, 0644);
41 41
42int boot_from_rom = 1; 42static int boot_from_rom = 1;
43module_param(boot_from_rom, int, 0644); 43module_param(boot_from_rom, int, 0644);
44 44
45int update_fw; 45static int update_fw;
46module_param(update_fw, int, 0644); 46module_param(update_fw, int, 0644);
47 47
48#define S5C73M3_EMBEDDED_DATA_MAXLEN SZ_4K 48#define S5C73M3_EMBEDDED_DATA_MAXLEN SZ_4K
@@ -295,7 +295,8 @@ int s5c73m3_isp_command(struct s5c73m3 *state, u16 command, u16 data)
295 return s5c73m3_write(state, REG_STATUS, 0x0001); 295 return s5c73m3_write(state, REG_STATUS, 0x0001);
296} 296}
297 297
298int s5c73m3_isp_comm_result(struct s5c73m3 *state, u16 command, u16 *data) 298static int s5c73m3_isp_comm_result(struct s5c73m3 *state, u16 command,
299 u16 *data)
299{ 300{
300 return s5c73m3_read(state, COMM_RESULT_OFFSET + command, data); 301 return s5c73m3_read(state, COMM_RESULT_OFFSET + command, data);
301} 302}