diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2011-06-30 10:09:40 +0900 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-07-08 17:01:57 +0400 |
commit | 464f29a21792e0e506d936d147beea72a5f8e904 (patch) | |
tree | b70a0029f91f7dfef842d392a56c0b0ce0ac47dd /drivers/power/max17042_battery.c | |
parent | bb4ce9708785f40849f1a64931e6cc3b26171201 (diff) |
max8903_charger: Allow platform data to be __initdata
Platform files may have declared 8903 platform data as __initdata. This
patch removes the dependency on pdata pointer so that using __initdata
on pdata will not incur errors. Note that such error does not incur
SECTION MISMATCH warning in (at least some) compilers.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/max17042_battery.c')
0 files changed, 0 insertions, 0 deletions