From: Jarkko Nikula Date: Sat, 18 Dec 2010 18:17:10 +0000 (+0000) Subject: omap: rx51: Switch rx51_tpa6130a2_data __initdata to__initdata_or_module X-Git-Tag: v2.6.38-rc1~469^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c61d3d3c319def8feebb99682ae0223a41dffe;p=pandora-kernel.git omap: rx51: Switch rx51_tpa6130a2_data __initdata to__initdata_or_module If the TPA6130 is compiled as module the id and power_gpio values are arbitrary at module probing time since the rx51_tpa6130a2_data was marked as __initdata. Fix this by using __initdata_or_module. Then __initdata is defined only if the kernel is built without CONFIG_MODULES and omitted otherwise. Signed-off-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed