diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-21 02:14:13 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 08:28:56 (GMT) |
commit | adc01fbd90079fe985213231c16f1ba0d3b6fdeb (patch) | |
tree | 41e2dc50efb1b7437df5f3ad9ea655e5b58ca3c1 /drivers | |
parent | 60a4992aae33052a0be69b54ff6286d22e7f403f (diff) | |
download | linux-adc01fbd90079fe985213231c16f1ba0d3b6fdeb.tar.xz |
mfd: twl6040: Fix sparse non static symbol warning
Fixes the following sparse warning:
drivers/mfd/twl6040.c:89:20: warning:
symbol 'twl6040_patch' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/twl6040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c index 51b6df1..75316fb 100644 --- a/drivers/mfd/twl6040.c +++ b/drivers/mfd/twl6040.c @@ -86,7 +86,7 @@ static struct reg_default twl6040_defaults[] = { { 0x2E, 0x00 }, /* REG_STATUS (ro) */ }; -struct reg_default twl6040_patch[] = { +static struct reg_default twl6040_patch[] = { /* Select I2C bus access to dual access registers */ { TWL6040_REG_ACCCTL, 0x09 }, }; |