Commit 3d04dd2f960aa01a09593576f4df56a052ef32a7
Committed by
Greg Kroah-Hartman
1 parent
b4fb0ca260
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/fmc/fmc-write-eeprom.c
... | ... | @@ -103,7 +103,7 @@ |
103 | 103 | * difficult to know in advance when probing the first card if others |
104 | 104 | * are there. |
105 | 105 | */ |
106 | -int fwe_probe(struct fmc_device *fmc) | |
106 | +static int fwe_probe(struct fmc_device *fmc) | |
107 | 107 | { |
108 | 108 | int err, index = 0; |
109 | 109 | const struct firmware *fw; |
... | ... | @@ -144,7 +144,7 @@ |
144 | 144 | return 0; |
145 | 145 | } |
146 | 146 | |
147 | -int fwe_remove(struct fmc_device *fmc) | |
147 | +static int fwe_remove(struct fmc_device *fmc) | |
148 | 148 | { |
149 | 149 | return 0; |
150 | 150 | } |