diff options
Diffstat (limited to 'drivers/pinctrl/stm32/pinctrl-stm32h743.c')
-rw-r--r-- | drivers/pinctrl/stm32/pinctrl-stm32h743.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32h743.c b/drivers/pinctrl/stm32/pinctrl-stm32h743.c index f7f9eacd3768..e34b2b9217ce 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32h743.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32h743.c @@ -1977,4 +1977,8 @@ static struct platform_driver stm32h743_pinctrl_driver = { }, }; -builtin_platform_driver(stm32h743_pinctrl_driver); +static int __init stm32h743_pinctrl_init(void) +{ + return platform_driver_register(&stm32h743_pinctrl_driver); +} +arch_initcall(stm32h743_pinctrl_init); |