ARM: shmobile: Cleanup pm-rcar.o build using Kconfig
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 25 Aug 2014 03:03:52 +0000 (12:03 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 01:00:20 +0000 (10:00 +0900)
commit564812f11e9d71c615fae93741b56bd555c572ce
tree9ef9c4189b3ac88fd94b744d5d2f012b3dd3b43a
parent9db145c499036067d8f54ccf691b5b8822ec5f60
ARM: shmobile: Cleanup pm-rcar.o build using Kconfig

Add a CONFIG_PM_RCAR entry and enable it for R-Car
Generation 1 or 2 in case CONFIG_PM or CONFIG_SMP
is set. Consolidate power management objects and
get rid of #ifdefs in the C code.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 1a950ca536dd5c40167ef58951e738ae430fa96d)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/pm-rcar.c