max8903_charger: Allow platform data to be __initdata
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 30 Jun 2011 01:09:40 +0000 (10:09 +0900)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 8 Jul 2011 13:01:57 +0000 (17:01 +0400)
commit464f29a21792e0e506d936d147beea72a5f8e904
treeb70a0029f91f7dfef842d392a56c0b0ce0ac47dd
parentbb4ce9708785f40849f1a64931e6cc3b26171201
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>
drivers/power/max8903_charger.c