diff options
author | Tony Lindgren <tony@atomide.com> | 2013-01-11 11:24:18 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-01-11 11:24:18 -0800 |
commit | 816a65ef4ce1848d8083d9e198922ddafbe221f2 (patch) | |
tree | b25932011f109ec7ad52691f68c97fb77b27acf2 /arch/arm/mach-omap2/prm44xx.c | |
parent | 9931faca02c604c22335f5a935a501bb2ace6e20 (diff) | |
download | talos-obmc-linux-816a65ef4ce1848d8083d9e198922ddafbe221f2.tar.gz talos-obmc-linux-816a65ef4ce1848d8083d9e198922ddafbe221f2.zip |
ARM: OMAP2+: Limit omap initcalls to omap only on multiplatform kernels
We need to make sure that multiplatform kernels don't
run omap initcalls when booted on other SoCs.
Do this by adding wrapper macros for the initcalls that
return early if soc_is_omap() test fails. This allows
us to easily change the defines later if we have SoC
specific init sections available.
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm44xx.c')
0 files changed, 0 insertions, 0 deletions