OSDN Git Service

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>
Tue, 2 Sep 2014 00:32:05 +0000 (09:32 +0900)
commit1a950ca536dd5c40167ef58951e738ae430fa96d
treebd24b81db58bf51baa4c4e64d3915664dea4cfb0
parent0d91843346049d3131c2f75ff21d6b405cb68741
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>
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/pm-rcar.c