diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2013-07-19 16:45:57 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:43:39 +0900 |
commit | ec5a13f05cd501a82e139b38987e70bf8584ad3f (patch) | |
tree | eb7393f4b32f79f35c75f3f6c5631d83cc29e0ab /drivers | |
parent | 055af80d7ae7c79d7015ea4510156b8e3d5ab5b0 (diff) | |
download | linux-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')
-rw-r--r-- | drivers/power/max77693_charger.c | 2 |
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", }, { }, }; |