summaryrefslogtreecommitdiffstats
path: root/drivers/soc/renesas/rcar-sysc.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2017-03-31 11:01:54 +0200
committerSimon Horman2017-04-07 19:53:39 +0200
commitb1d134ba9de2b7a136406530e34fc8b110ba6efd (patch)
treefd0d0a9b6fb1713189b1e4cdebcaff16925a28a2 /drivers/soc/renesas/rcar-sysc.c
parentbase: soc: Allow early registration of a single SoC device (diff)
downloadkernel-qcow2-linux-b1d134ba9de2b7a136406530e34fc8b110ba6efd.tar.gz
kernel-qcow2-linux-b1d134ba9de2b7a136406530e34fc8b110ba6efd.tar.xz
kernel-qcow2-linux-b1d134ba9de2b7a136406530e34fc8b110ba6efd.zip
soc: renesas: Register SoC device early
The r8a7795 SYSC driver manages PM Domains, and thus is initialized from an early_initcall(). However, this means the driver cannot check the SoC revision, as the SoC device hasn't been registered yet. Change renesas_soc_init() from a core_initcall() to an early_initcall() to fix this (renesas-soc.o is listed before rcar-sysc.o in the Makefile). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/soc/renesas/rcar-sysc.c')
0 files changed, 0 insertions, 0 deletions