diff options
author | Paul Walmsley <[email protected]> | 2011-03-04 22:36:46 +0000 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2011-03-08 15:10:17 -0800 |
commit | e7916740bb76379bcde4ce0317259acff8f89f53 (patch) | |
tree | 29119691c73159b1197df84c122a41982ae418fb /tools/perf/scripts | |
parent | cd97bb003276a66b2174e5dc589748e5c4bc357e (diff) |
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 <[email protected]>
Cc: Kishon Vijay Abraham I <[email protected]>
Cc: Tony Lindgren <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
[[email protected]: updated description not to remove unnecessary branch name]
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions