OSDN Git Service

soc: renesas: Move pm-rcar to drivers/soc/renesas/rcar-sysc
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 20 Apr 2016 12:02:36 +0000 (14:02 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 22 Apr 2016 07:23:13 +0000 (17:23 +1000)
commitbe32bcbbd18213803ff24e480340d4d2cca1df4f
tree9df76febaf6bee5f1c9c28a5419a2c2e6b179227
parenta93fed0956bef9e4df420aa181198d86d347895d
soc: renesas: Move pm-rcar to drivers/soc/renesas/rcar-sysc

Move the pm-rcar driver from arch/arm/mach-shmobile/ to
drivers/soc/renesas/, and its header file to include/linux/soc/renesas/,
so it can be shared between arm32 (R-Car H1 and Gen2) and arm64 (R-Car
Gen3). Rename it to rcar-sysc as it's really a driver for the R-Car
System Controller (SYSC).

Kill the intermediate PM_RCAR config symbol, as it's not user
configurable anymore, and to prepare for SoC-specific make rules.

Add the missing #include <linux/types.h> to rcar-sysc.h, which was
exposed by different include order.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
MAINTAINERS
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/pm-r8a7779.c
arch/arm/mach-shmobile/pm-rcar-gen2.c
arch/arm/mach-shmobile/smp-r8a7779.c
arch/arm/mach-shmobile/smp-r8a7790.c
drivers/soc/Makefile
drivers/soc/renesas/Makefile [new file with mode: 0644]
drivers/soc/renesas/rcar-sysc.c [moved from arch/arm/mach-shmobile/pm-rcar.c with 99% similarity]
include/linux/soc/renesas/rcar-sysc.h [moved from arch/arm/mach-shmobile/pm-rcar.h with 66% similarity]