Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1613782
| From | Geert Uytterhoeven <geert+renesas@glider.be> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 1/3] soc: renesas: Register SoC device early |
| Date | 2017-03-31 11:10 +0200 |
| Message-ID | <tr0Je-2AS-89@gated-at.bofh.it> (permalink) |
| References | <tr0Jd-2AS-63@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- v2: - No changes. --- drivers/soc/renesas/renesas-soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 330960312296f603..51ed33f3426dddc0 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -254,4 +254,4 @@ static int __init renesas_soc_init(void) return 0; } -core_initcall(renesas_soc_init); +early_initcall(renesas_soc_init); -- 2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] soc: renesas: rcar-sysc: Add support for R-Car H3 ES2.0 Geert Uytterhoeven <geert+renesas@glider.be> - 2017-03-31 11:10 +0200 [PATCH v2 2/3] soc: renesas: rcar-sysc: Add support for fixing up power area tables Geert Uytterhoeven <geert+renesas@glider.be> - 2017-03-31 11:10 +0200 [PATCH v2 3/3] soc: renesas: rcar-sysc: Add support for R-Car H3 ES2.0 Geert Uytterhoeven <geert+renesas@glider.be> - 2017-03-31 11:10 +0200 [PATCH v2 1/3] soc: renesas: Register SoC device early Geert Uytterhoeven <geert+renesas@glider.be> - 2017-03-31 11:10 +0200 Re: [PATCH v2 0/3] soc: renesas: rcar-sysc: Add support for R-Car H3 ES2.0 Simon Horman <horms@verge.net.au> - 2017-04-03 12:40 +0200
csiph-web