diff options
Diffstat (limited to 'drivers/pinctrl/stm32/pinctrl-stm32f746.c')
-rw-r--r-- | drivers/pinctrl/stm32/pinctrl-stm32f746.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32f746.c b/drivers/pinctrl/stm32/pinctrl-stm32f746.c index c0b4462ce97e..a2fae7357c36 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32f746.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32f746.c @@ -1678,4 +1678,9 @@ static struct platform_driver stm32f746_pinctrl_driver = { .of_match_table = stm32f746_pctrl_match, }, }; -builtin_platform_driver(stm32f746_pinctrl_driver); + +static int __init stm32f746_pinctrl_init(void) +{ + return platform_driver_register(&stm32f746_pinctrl_driver); +} +arch_initcall(stm32f746_pinctrl_init); |