original_kernel/arch/arm/plat-omap/include/plat
Kevin Hilman 54c44fb7df OMAP2: cpu_is_omap2*: fix compile-time removal of unused code
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>
2010-03-11 15:55:43 -08:00
..
blizzard.h omap: Checkpatch cleanup for blizzard.h 2010-03-11 14:50:00 -08:00
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 OMAP2: cpu_is_omap2*: fix compile-time removal of unused code 2010-03-11 15:55:43 -08:00
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