[PATCH 1/2] pinctrl: bcm2835: Probe driver earlier

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Sep 17 02:41:51 PDT 2021


From: Ahmad Fatoum <ahmad at a3f.at>

coredevice is too late for the console driver and all other pinctrl drivers
are using "core", too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
 drivers/pinctrl/pinctrl-bcm2835.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-bcm2835.c b/drivers/pinctrl/pinctrl-bcm2835.c
index d62c73518189..38c788c82945 100644
--- a/drivers/pinctrl/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/pinctrl-bcm2835.c
@@ -205,4 +205,4 @@ static struct driver_d bcm2835_gpio_driver = {
 	.of_compatible = DRV_OF_COMPAT(bcm2835_gpio_dt_ids),
 };
 
-coredevice_platform_driver(bcm2835_gpio_driver);
+core_platform_driver(bcm2835_gpio_driver);
-- 
2.30.2




More information about the barebox mailing list