aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max77693.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-04-07 20:09:41 -0400
committerChanwoo Choi <cw00.choi@samsung.com>2013-04-08 18:53:46 -0400
commit813b451644686fb7e26a54005e2f7bd495a06121 (patch)
treeaa03b9683559959a04d2531cfdb909403afe8c94 /drivers/extcon/extcon-max77693.c
parent07961ac7c0ee8b546658717034fe692fd12eefa9 (diff)
extcon: max77693: Staticize default_init_data
Commit 0ec83bd246 ("extcon: max77693: Initialize register of MUIC device to bring up it without platform data") added this structure but forgot to make it static. Without this patch we get the following warning: drivers/extcon/extcon-max77693.c:41:26: warning: symbol 'default_init_data' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max77693.c')
-rw-r--r--drivers/extcon/extcon-max77693.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
index 8f3c947b0029..7b2e93d4f60c 100644
--- a/drivers/extcon/extcon-max77693.c
+++ b/drivers/extcon/extcon-max77693.c
@@ -38,7 +38,7 @@
38 * extcon-max77693 driver use 'default_init_data' to bring up base operation 38 * extcon-max77693 driver use 'default_init_data' to bring up base operation
39 * of MAX77693 MUIC device. 39 * of MAX77693 MUIC device.
40 */ 40 */
41struct max77693_reg_data default_init_data[] = { 41static struct max77693_reg_data default_init_data[] = {
42 { 42 {
43 /* STATUS2 - [3]ChgDetRun */ 43 /* STATUS2 - [3]ChgDetRun */
44 .addr = MAX77693_MUIC_REG_STATUS2, 44 .addr = MAX77693_MUIC_REG_STATUS2,