ARM: shmobile: Cleanup pm-rmobile.o build using Kconfig
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 25 Aug 2014 03:04:01 +0000 (12:04 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 01:00:21 +0000 (10:00 +0900)
commit7a0918abb9687a9bf686b44f00fb0b264767e3b8
tree725ca153e94228f0317d7a51b804f4b3a4b2e647
parent564812f11e9d71c615fae93741b56bd555c572ce
ARM: shmobile: Cleanup pm-rmobile.o build using Kconfig

Add a CONFIG_PM_RMOBILE entry and enable it for R-Mobile
SoCs in case CONFIG_PM is set. Consolidate Makefile 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 abebbc4a026d8cdceb9f65c497b3db445c8ff5e7)
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-rmobile.c
arch/arm/mach-shmobile/pm-rmobile.h