diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 08:59:34 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-27 09:17:37 +0200 |
commit | 5f4f870a445790c8ff781a4b9a3e233769d26835 (patch) | |
tree | 3822460ea0b248c7dbe20232c6a028f8f8941580 /drivers | |
parent | parisc: hppb: Convert HP PB bus driver to use arch_initcall() (diff) | |
download | linux-5f4f870a445790c8ff781a4b9a3e233769d26835.tar.xz linux-5f4f870a445790c8ff781a4b9a3e233769d26835.zip |
parisc: eisa: Convert HP EISA bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/parisc/eisa.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |