projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055af80
)
max77693_charger: fix section mismatch
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Fri, 19 Jul 2013 07:45:57 +0000
(16:45 +0900)
committer
Chanho 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
patch
|
blob
|
history
diff --git
a/drivers/power/max77693_charger.c
b/drivers/power/max77693_charger.c
index
340aec0
..
71e94c1
100644
(file)
--- 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", },
{ },
};