ARM: shmobile: fix shmobile_smp_apmu_suspend_init build failure for !SUSPEND
authorArnd Bergmann <arnd@arndb.de>
Thu, 3 Jul 2014 14:08:30 +0000 (16:08 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:16:11 +0000 (11:16 +0100)
commit5402c9e13a22f64b8faed4ede07dfcec541f9de7
treef9fe81bab0ea93f73a64a224dad3410752d0ea24
parentbe1d725bce18f5eb3c9f038abb3b4c333032bc13
ARM: shmobile: fix shmobile_smp_apmu_suspend_init build failure for !SUSPEND

Patch d6d757c9a4e ("ARM: shmobile: APMU: Add Core-Standby-state for
Suspend to RAM") added both an inline wrapper for shmobile_smp_apmu_suspend_init
and an empty function in arch/arm/mach-shmobile/platsmp-apmu.c. We get a
build failure when both are present, so this patch removes the one in the .c
file and keeps the inline version.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit d358c99838f3cf63ad7536124be4318cc84b11fa)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/platsmp-apmu.c