summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2013-07-19 16:45:57 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:39 +0900
commitec5a13f05cd501a82e139b38987e70bf8584ad3f (patch)
treeeb7393f4b32f79f35c75f3f6c5631d83cc29e0ab /drivers/power
parent055af80d7ae7c79d7015ea4510156b8e3d5ab5b0 (diff)
downloadlinux-3.10-ec5a13f05cd501a82e139b38987e70bf8584ad3f.tar.gz
linux-3.10-ec5a13f05cd501a82e139b38987e70bf8584ad3f.tar.bz2
linux-3.10-ec5a13f05cd501a82e139b38987e70bf8584ad3f.zip
max77693_charger: fix section mismatch
max77693_charger_of_match with __initconst flag is referenced from max77693_charger_driver which is non init data and this causes section mismatch. So flag __initconst is removed. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/max77693_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max77693_charger.c b/drivers/power/max77693_charger.c
index 340aec036bf..71e94c170d5 100644
--- a/drivers/power/max77693_charger.c
+++ b/drivers/power/max77693_charger.c
@@ -654,7 +654,7 @@ static SIMPLE_DEV_PM_OPS(max77693_charger_pm_ops, max77693_charger_suspend,
max77693_charger_resume);
#ifdef CONFIG_OF
-static struct of_device_id max77693_charger_of_match[] __initconst = {
+static struct of_device_id max77693_charger_of_match[] = {
{ .compatible = "samsung,max77693-charger", },
{ },
};