projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60a4992
)
mfd: twl6040: Fix sparse non static symbol warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Sat, 21 Dec 2013 02:14:13 +0000
(10:14 +0800)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:56 +0000
(08:28 +0000)
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>
drivers/mfd/twl6040.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/twl6040.c
b/drivers/mfd/twl6040.c
index 51b6df1a794974664f03471aa94bc00e9837b330..75316fb33448d6041d13e91f1c02c9321cd03818 100644
(file)
--- 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[] = {
+st
atic st
ruct reg_default twl6040_patch[] = {
/* Select I2C bus access to dual access registers */
{ TWL6040_REG_ACCCTL, 0x09 },
};