From: Kevin Hilman Date: Tue, 6 Mar 2012 20:00:25 +0000 (-0800) Subject: ARM: OMAP2+: PM: fix wakeupgen warning when hotplug disabled X-Git-Tag: v3.4-rc1~93^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1dbe7cfd62e35f6f25e94729458b9047e3f555;p=pandora-kernel.git 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 Signed-off-by: Kevin Hilman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed