linux/arch/sh/drivers
Bartosz Golaszewski 507fd01d53 drivers: move the early platform device support to arch/sh
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 <bgolaszewski@baylibre.com>
Cc: Rich Felker <dalias@libc.org>
Link: https://lore.kernel.org/r/20191003092913.10731-2-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-07 13:50:47 +02:00
..
dma sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
pci treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
superhyway sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
heartbeat.c sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
platform_early.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
push-switch.c sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00