54c44fb7df
Currently if omap2420 is defined but not omap2430, cpu_is_omap2430() is still defined as a macro, instead of #define'd to zero. This results in conditional cpu_is_omap2430() code still being compiled, and leads to possible compile/link errors. In particular for hwmod init. To fix, add extra #ifdefs to CPU check macros to ensure that the is_omap* macros are zero for each OMAP2 if they are not configured into the kernel. Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Tony Lindgren <tony@atomide.com> |
||
---|---|---|
.. | ||
blizzard.h | ||
board-ams-delta.h | ||
board-sx1.h | ||
board-voiceblue.h | ||
board.h | ||
clkdev.h | ||
clkdev_omap.h | ||
clock.h | ||
clockdomain.h | ||
common.h | ||
control.h | ||
cpu.h | ||
display.h | ||
dma-44xx.h | ||
dma.h | ||
dmtimer.h | ||
dsp_common.h | ||
flash.h | ||
fpga.h | ||
gpio-switch.h | ||
gpio.h | ||
gpmc-smc91x.h | ||
gpmc.h | ||
hardware.h | ||
hwa742.h | ||
i2c.h | ||
io.h | ||
iommu.h | ||
iommu2.h | ||
iovmm.h | ||
irda.h | ||
irqs-44xx.h | ||
irqs.h | ||
keypad.h | ||
lcd_mipid.h | ||
led.h | ||
mailbox.h | ||
mcbsp.h | ||
mcspi.h | ||
memory.h | ||
menelaus.h | ||
mmc.h | ||
multi.h | ||
mux.h | ||
nand.h | ||
omap-alsa.h | ||
omap-pm.h | ||
omap7xx.h | ||
omap16xx.h | ||
omap24xx.h | ||
omap34xx.h | ||
omap44xx.h | ||
omap730.h | ||
omap850.h | ||
omap1510.h | ||
omap_device.h | ||
omap_hwmod.h | ||
onenand.h | ||
param.h | ||
powerdomain.h | ||
prcm.h | ||
sdrc.h | ||
serial.h | ||
smp.h | ||
sram.h | ||
system.h | ||
tc.h | ||
timer-gp.h | ||
timex.h | ||
uncompress.h | ||
usb.h | ||
vram.h | ||
vrfb.h |