aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPaul Walmsley <[email protected]>2011-02-25 17:38:25 -0700
committerTony Lindgren <[email protected]>2011-02-28 17:53:01 -0800
commitd6b5d01b3f7c10edb50b9092d8dcac9cab680ea3 (patch)
treeaeec1b958411ae827c5f25d070eed3e9c3b70cb0 /tools/perf/util/trace-event-scripting.c
parent7cab8713b1ed0dab08ad6458f92a40b7ff4be619 (diff)
OMAP2+: sdrc: fix compile break on OMAP4-only config on current omap-for-linus
On non-OMAP2 and non-OMAP3 kernel configs, turn omap2_sdrc_init() into a no-op. Otherwise, compilation breaks on an OMAP4-only config with the current omap-for-linus branch: arch/arm/mach-omap2/built-in.o: In function `omap2_init_common_devices': ../mach-omap2/io.c:421: undefined reference to `omap2_sdrc_init' Thanks to Sergei Shtylyov <[email protected]> for suggesting the use of a empty static inline function rather than a macro. Signed-off-by: Paul Walmsley <[email protected]> Cc: Tony Lindgren <[email protected]> Cc: Sergei Shtylyov <[email protected]> [[email protected]: updated not to use __init for inline omap2_sdrc_init] Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions