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>
Tue, 2 Sep 2014 00:32:06 +0000 (09:32 +0900)
commitabebbc4a026d8cdceb9f65c497b3db445c8ff5e7
treea602cbfc386a582e2eacfecc31bef3f8e60d2aad
parent1a950ca536dd5c40167ef58951e738ae430fa96d
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>
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/pm-rmobile.c
arch/arm/mach-shmobile/pm-rmobile.h