diff options
| author | Kevin Hilman <[email protected]> | 2012-03-06 20:00:25 +0000 |
|---|---|---|
| committer | Tony Lindgren <[email protected]> | 2012-03-06 21:21:37 +0000 |
| commit | bb1dbe7cfd62e35f6f25e94729458b9047e3f555 (patch) | |
| tree | 083974cfd4e2de716355872e7de0fb806f5a6cae /lib/mpi/mpi-add.c | |
| parent | ARM: OMAP2+: PM: fix section mismatch with omap2_init_processor_devices() (diff) | |
| download | kernel-bb1dbe7cfd62e35f6f25e94729458b9047e3f555.tar.gz kernel-bb1dbe7cfd62e35f6f25e94729458b9047e3f555.zip | |
ARM: OMAP2+: PM: fix wakeupgen warning when hotplug disabled
When CONFIG_HOTPLUG_CPU=n, there are unused functions in wakeupgen:
arch/arm/mach-omap2/omap-wakeupgen.c:181: warning: 'wakeupgen_irqmask_all' defined but not used
Fix this by moving all the functions only used when CONFIG_HOTPLUG_CPU=y
together and wrapping in an #ifdef.
No functional changes.
Reported-by: Russell King <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
