linux/arch/arm/mach-omap1
Paul Walmsley e7916740bb OMAP1: McBSP: fix build break for non-multi-OMAP1 configs
Commit 3cf32bba8c ("OMAP: McBSP: Convert
McBSP to platform device model") breaks compilation with non-multi-OMAP1
configs:

  CC      arch/arm/mach-omap1/mcbsp.o
arch/arm/mach-omap1/mcbsp.c: In function 'omap1_mcbsp_init':
arch/arm/mach-omap1/mcbsp.c:384: warning: dereferencing 'void *' pointer
arch/arm/mach-omap1/mcbsp.c:387: error: invalid use of void expression
arch/arm/mach-omap1/mcbsp.c:390: warning: dereferencing 'void *' pointer
arch/arm/mach-omap1/mcbsp.c:393: error: invalid use of void expression

Fix by avoiding NULL dereferences.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
[tony@atomide.com: updated description not to remove unnecessary branch name]
Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-03-08 15:10:17 -08:00
..
include/mach omap1: Simplify use of omap_irq_flags 2011-01-27 15:52:16 -08:00
ams-delta-fiq-handler.S
ams-delta-fiq.c
board-ams-delta.c wip: fix section mismatches in omap1_defconfig 2011-02-09 16:40:30 -08:00
board-fsample.c wip: fix section mismatches in omap1_defconfig 2011-02-09 16:40:30 -08:00
board-generic.c
board-h2-mmc.c
board-h2.c arm: mach-omap1: board-h2: make h2_nand_platdata static 2011-01-27 16:39:48 -08:00
board-h2.h
board-h3-mmc.c
board-h3.c arm: mach-omap1: board-h3: make nand_platdata static 2011-01-27 16:39:48 -08:00
board-h3.h
board-htcherald.c arm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static 2011-01-27 16:39:48 -08:00
board-innovator.c arm: mach-omap1: board-innovator: make innovator_mmc_init() static 2011-01-27 16:39:48 -08:00
board-nokia770.c ARM: omap1/nokia770: mark some functions __init 2011-02-09 16:36:39 -08:00
board-osk.c
board-palmte.c arm: omap1: fix compile warning 2011-01-27 16:39:41 -08:00
board-palmtt.c
board-palmz71.c
board-perseus2.c
board-sx1-mmc.c
board-sx1.c
board-voiceblue.c arm: mach-omap1: board-voiceblue: add missing include 2011-01-27 16:39:48 -08:00
clock.c
clock.h
clock_data.c
devices.c
dma.c
flash.c
fpga.c
gpio7xx.c
gpio15xx.c
gpio16xx.c
i2c.c
id.c
io.c
irq.c omap1: Simplify use of omap_irq_flags 2011-01-27 15:52:16 -08:00
Kconfig omap1: Fix booting for 15xx and 730 with omap1_defconfig 2011-01-19 10:38:43 -08:00
lcd_dma.c OMAP1: Fix non-working LCD on OMAP310 2011-02-02 12:13:50 -08:00
leds-h2p2-debug.c
leds-innovator.c
leds-osk.c
leds.c
leds.h
mailbox.c
Makefile ARM: OMAP: Allow platforms to hook reset cleanly 2011-01-27 16:39:48 -08:00
Makefile.boot
mcbsp.c OMAP1: McBSP: fix build break for non-multi-OMAP1 configs 2011-03-08 15:10:17 -08:00
mux.c
opp.h
opp_data.c
pm.c
pm.h
pm_bus.c
reset.c ARM: OMAP: Allow platforms to hook reset cleanly 2011-01-27 16:39:48 -08:00
serial.c
sleep.S
sram.S
time.c omap1: remove duplicated #include 2011-02-01 15:53:00 -08:00
timer32k.c omap1: Fix booting for 15xx and 730 with omap1_defconfig 2011-01-19 10:38:43 -08:00
usb.c