Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d04dd2f authored by Jingoo Han's avatar Jingoo Han Committed by Greg Kroah-Hartman
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4fb0ca2
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -103,7 +103,7 @@ static int fwe_run(struct fmc_device *fmc, const struct firmware *fw, char *s)
 * difficult to know in advance when probing the first card if others
 * difficult to know in advance when probing the first card if others
 * are there.
 * are there.
 */
 */
int fwe_probe(struct fmc_device *fmc)
static int fwe_probe(struct fmc_device *fmc)
{
{
	int err, index = 0;
	int err, index = 0;
	const struct firmware *fw;
	const struct firmware *fw;
@@ -144,7 +144,7 @@ int fwe_probe(struct fmc_device *fmc)
	return 0;
	return 0;
}
}


int fwe_remove(struct fmc_device *fmc)
static int fwe_remove(struct fmc_device *fmc)
{
{
	return 0;
	return 0;
}
}