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

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Sep 22 03:25:50 PDT 2021


On 17.09.21 11:41, Uwe Kleine-König wrote:
> 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: Ahmad Fatoum <ahmad at a3f.at>

> 
> 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);
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list