Commit c3e9e6b6 authored by Fabio Estevam's avatar Fabio Estevam Committed by Samuel Ortiz

mfd: da9052-i2c: Staticize da9052_i2c_fix()

da9052_i2c_fix() is only used locally, so let it be static.

Fix the following sparse warning:

drivers/mfd/da9052-i2c.c:63:5: warning: symbol 'da9052_i2c_fix' was not declared. Should it be static?

Cc: Ashish Jangam <ashish.jangam@kpitcummins.com>
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 75177dee
...@@ -60,7 +60,7 @@ static inline bool i2c_safe_reg(unsigned char reg) ...@@ -60,7 +60,7 @@ static inline bool i2c_safe_reg(unsigned char reg)
* This fix is to follow any read or write with a dummy read to a safe * This fix is to follow any read or write with a dummy read to a safe
* register. * register.
*/ */
int da9052_i2c_fix(struct da9052 *da9052, unsigned char reg) static int da9052_i2c_fix(struct da9052 *da9052, unsigned char reg)
{ {
int val; int val;
...@@ -85,7 +85,6 @@ int da9052_i2c_fix(struct da9052 *da9052, unsigned char reg) ...@@ -85,7 +85,6 @@ int da9052_i2c_fix(struct da9052 *da9052, unsigned char reg)
return 0; return 0;
} }
EXPORT_SYMBOL(da9052_i2c_fix);
static int da9052_i2c_enable_multiwrite(struct da9052 *da9052) static int da9052_i2c_enable_multiwrite(struct da9052 *da9052)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment