diff options
author | 2011-03-04 22:36:46 +0000 | |
---|---|---|
committer | 2011-03-08 15:10:17 -0800 | |
commit | e7916740bb76379bcde4ce0317259acff8f89f53 (patch) | |
tree | 29119691c73159b1197df84c122a41982ae418fb /tools/perf/scripts/python | |
parent | Revert "OMAP4: hwmod data: Prevent timer1 to be reset and idle during init" (diff) | |
download | linux-dev-e7916740bb76379bcde4ce0317259acff8f89f53.tar.xz linux-dev-e7916740bb76379bcde4ce0317259acff8f89f53.zip |
OMAP1: McBSP: fix build break for non-multi-OMAP1 configs
Commit 3cf32bba8ca0e0052ca41d74d455a5805b7fea85 ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions