Home
last modified time | relevance | path

Searched hist:b1d134ba (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/soc/renesas/
H A Drenesas-soc.cb1d134ba Fri Mar 31 04:01:54 CDT 2017 Geert Uytterhoeven <geert+renesas@glider.be> 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>
b1d134ba Fri Mar 31 04:01:54 CDT 2017 Geert Uytterhoeven <geert+renesas@glider.be> 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>