OSDN Git Service

ARM: shmobile: rcar-gen2: correct return value of shmobile_smp_apmu_suspend_init
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 16 Jun 2014 11:21:13 +0000 (20:21 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 17 Jun 2014 10:33:22 +0000 (19:33 +0900)
commitecdaca48629bd99609fdc612685363330967dce2
treef4b4c465b791953e22d14acf3d01323ef69704b9
parentea2a0d581a3e742c2fb2bc520c8c8887fe1dafa6
ARM: shmobile: rcar-gen2: correct return value of shmobile_smp_apmu_suspend_init

The dummy shmobile_smp_apmu_suspend_init() function provided when
CPU_IDLE is not set should not return a value as per the signature
of the function.

This problem appears to have been introduced by
867ba81f728f1daa ("ARM: shmobile: APMU: Add Core-Standby-state for Suspend
to RAM").

Cc: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/common.h