From df3f93596c8ffb97482bb6d90f4933d7417605aa Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 27 Aug 2023 09:25:48 +0200 Subject: parisc: lba: Convert LBA PCI bus driver to use arch_initcall() Signed-off-by: Helge Deller --- drivers/parisc/lba_pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/parisc') diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c index 9e22b117fb3a..3fc3765fddaa 100644 --- a/drivers/parisc/lba_pci.c +++ b/drivers/parisc/lba_pci.c @@ -1682,10 +1682,11 @@ static struct parisc_driver lba_driver __refdata = { ** One time initialization to let the world know the LBA was found. ** Must be called exactly once before pci_init(). */ -void __init lba_init(void) +static int __init lba_init(void) { - register_parisc_driver(&lba_driver); + return register_parisc_driver(&lba_driver); } +arch_initcall(lba_init); /* ** Initialize the IBASE/IMASK registers for LBA (Elroy). -- cgit v1.2.3