Thread (10 messages) 10 messages, 5 authors, 2018-05-14

[PATCH v3 2/3] platform: move the early platform device support to arch/sh

From: arnd@arndb.de (Arnd Bergmann)
Date: 2018-05-07 21:13:28
Also in: linux-serial, linux-sh, lkml

On Fri, May 4, 2018 at 9:27 AM, Bartosz Golaszewski [off-list ref] wrote:
From: Bartosz Golaszewski <redacted>

SuperH is the only user of the current implementation of early platform
device support. We want to introduce a more robust approach to early
probing. As the first step - move all the current early platform code
to arch/sh.

In order not to export internal drivers/base functions to arch code for
this temporary solution - copy the two needed routines for driver
matching from drivers/base/platform.c to arch/sh/drivers/platform_early.c.

Also: call early_platform_cleanup() from subsys_initcall() so that it's
called after all early devices are probed.

Signed-off-by: Bartosz Golaszewski <redacted>
I had not gotten around to look at this in enough detail so far, but
looking now, it seems all good.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help