From 5f4f870a445790c8ff781a4b9a3e233769d26835 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 27 Aug 2023 08:59:34 +0200 Subject: parisc: eisa: Convert HP EISA bus driver to use arch_initcall() Signed-off-by: Helge Deller --- drivers/parisc/eisa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/parisc') diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c index 45e487388c6e..9eab974e6baf 100644 --- a/drivers/parisc/eisa.c +++ b/drivers/parisc/eisa.c @@ -400,10 +400,11 @@ static struct parisc_driver eisa_driver __refdata = { .probe = eisa_probe, }; -void __init parisc_eisa_init(void) +static int __init parisc_eisa_init(void) { - register_parisc_driver(&eisa_driver); + return register_parisc_driver(&eisa_driver); } +arch_initcall(parisc_eisa_init); static unsigned int eisa_irq_configured; -- cgit v1.2.3-58-ga151