1
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 OMAP1: Amstrad Delta: add FIQ handler for serial keyboardport interrupt processing 2010-05-05 11:11:10 -07:00
ams-delta-fiq.c ARM: omap1: irq_data conversion. 2011-01-13 17:18:51 +01:00
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 arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
board-h2-mmc.c omap: Fix spotty MMC voltages 2010-10-12 16:07:51 -07:00
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 omap: Fix spotty MMC voltages 2010-10-12 16:07:51 -07:00
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 Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
board-palmte.c arm: omap1: fix compile warning 2011-01-27 16:39:41 -08:00
board-palmtt.c Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
board-palmz71.c Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
board-perseus2.c Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
board-sx1-mmc.c omap: Fix spotty MMC voltages 2010-10-12 16:07:51 -07:00
board-sx1.c Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
board-voiceblue.c arm: mach-omap1: board-voiceblue: add missing include 2011-01-27 16:39:48 -08:00
clock_data.c OMAP1: clock_data: use runtime cpu / machine checks 2010-12-21 21:08:15 -07:00
clock.c ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
clock.h OMAP1: clock: some cleanup 2010-07-26 16:34:28 -06:00
devices.c omap1: Add initcall checks for omap1 and booted board 2010-12-10 09:46:24 -08:00
dma.c OMAP: DMA: Convert DMA library into platform driver 2010-12-20 18:38:31 -08:00
flash.c arm: omap1: add missing includes 2010-11-24 16:46:48 -08:00
fpga.c ARM: omap1: irq_data conversion. 2011-01-13 17:18:51 +01:00
gpio7xx.c omap1: Fix gpio mpuio bank to work for multi-omap for 7xx/15xx/16xx 2010-12-07 16:26:58 -08:00
gpio15xx.c omap1: Fix gpio mpuio bank to work for multi-omap for 7xx/15xx/16xx 2010-12-07 16:26:58 -08:00
gpio16xx.c omap1: Fix gpio mpuio bank to work for multi-omap for 7xx/15xx/16xx 2010-12-07 16:26:58 -08:00
i2c.c omap: i2c: Fix muxing for command line enabled bus 2010-02-25 14:45:08 -08:00
id.c
io.c omap: Split omap_read/write functions for omap1 and omap2+ 2010-12-10 09:46:24 -08:00
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 omap1: Add initcall checks for omap1 and booted board 2010-12-10 09:46:24 -08:00
leds.h
mailbox.c arm: omap1: mbox: delete unused variable 2010-11-24 16:48:47 -08:00
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 arm: omap1: make some functions static 2010-11-24 16:48:25 -08:00
opp_data.c
opp.h
pm_bus.c omap1: pm_bus: Fix compilation warning 2010-12-20 17:53:04 -08:00
pm.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
pm.h
reset.c ARM: OMAP: Allow platforms to hook reset cleanly 2011-01-27 16:39:48 -08:00
serial.c omap1: Add initcall checks for omap1 and booted board 2010-12-10 09:46:24 -08:00
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 omap: Move omap1 USB platform init code into mach-omap1/usb.c 2010-07-05 16:31:30 +03:00