aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fmc
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-11 23:35:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 18:45:40 -0400
commit3d04dd2f960aa01a09593576f4df56a052ef32a7 (patch)
tree04cfa7774f1f45474807a027d766028066ea0e39 /drivers/fmc
parentb4fb0ca26055bb39b18a1427eea633877a3dcc80 (diff)
FMC: Staticize local symbols
This local symbol is used only in this file. Fix the following sparse warnings: drivers/fmc/fmc-write-eeprom.c:106:5: warning: symbol 'fwe_probe' was not declared. Should it be static? drivers/fmc/fmc-write-eeprom.c:147:5: warning: symbol 'fwe_remove' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fmc')
-rw-r--r--drivers/fmc/fmc-write-eeprom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/fmc/fmc-write-eeprom.c b/drivers/fmc/fmc-write-eeprom.c
index 2cc680dd604d..ee5b47904130 100644
--- a/drivers/fmc/fmc-write-eeprom.c
+++ b/drivers/fmc/fmc-write-eeprom.c
@@ -103,7 +103,7 @@ static int fwe_run(struct fmc_device *fmc, const struct firmware *fw, char *s)
103 * difficult to know in advance when probing the first card if others 103 * difficult to know in advance when probing the first card if others
104 * are there. 104 * are there.
105 */ 105 */
106int fwe_probe(struct fmc_device *fmc) 106static int fwe_probe(struct fmc_device *fmc)
107{ 107{
108 int err, index = 0; 108 int err, index = 0;
109 const struct firmware *fw; 109 const struct firmware *fw;
@@ -144,7 +144,7 @@ int fwe_probe(struct fmc_device *fmc)
144 return 0; 144 return 0;
145} 145}
146 146
147int fwe_remove(struct fmc_device *fmc) 147static int fwe_remove(struct fmc_device *fmc)
148{ 148{
149 return 0; 149 return 0;
150} 150}