max77693_charger: fix section mismatch
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 19 Jul 2013 07:45:57 +0000 (16:45 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:39 +0000 (11:43 +0900)
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>
drivers/power/max77693_charger.c

index 340aec0..71e94c1 100644 (file)
@@ -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", },
        { },
 };