aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-05-21 14:06:30 +0200
committerShawn Guo <[email protected]>2015-06-03 14:51:44 +0800
commite20d7b5208c86111ead338ded8b25a0970eee661 (patch)
tree3debbf366b64eb00af43f0da3081ab24078bec8e /tools/perf/util/scripting-engines/trace-event-perl.c
parentda946aeaeadcd24ff0cda9984c6fb8ed2bfd462a (diff)
ARM: imx: make imx51/3 suspend optional
A recent change to the imx53 power management caused a build regression when CONFIG_SOC_IMX53 is disabled: mach-imx/built-in.o:(.init.rodata+0x60): undefined reference to `imx53_suspend' mach-imx/built-in.o:(.init.rodata+0x64): undefined reference to `imx53_suspend_sz' This avoids the problem by compiling the code in question conditionally on the presence of CONFIG_SOC_IMX53. For consistency, I'm also changing the same thing for CONFIG_SOC_IMX51. An additional benefit of this approach is reduced code size for kernels that only include support for one of the two SoCs. Signed-off-by: Arnd Bergmann <[email protected]> Fixes: 1579c7b9fe01 ("ARM: imx53: Set DDR pins to high impedance when in suspend to RAM.") Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions