aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorJarkko Nikula <[email protected]>2010-12-18 18:17:10 +0000
committerTony Lindgren <[email protected]>2010-12-20 18:48:16 -0800
commitf0c61d3d3c319def8feebb99682ae0223a41dffe (patch)
tree6c168c7a9825a19384bc6b332301bae007a36914 /arch/powerpc/lib/code-patching.c
parentf861fc1766888858db6abd57adae3af7abc286ca (diff)
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 <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions