summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-27 08:59:34 +0200
committerHelge Deller <deller@gmx.de>2023-08-27 09:17:37 +0200
commit5f4f870a445790c8ff781a4b9a3e233769d26835 (patch)
tree3822460ea0b248c7dbe20232c6a028f8f8941580 /drivers
parentparisc: hppb: Convert HP PB bus driver to use arch_initcall() (diff)
downloadlinux-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.c5
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;