diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 09:25:48 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-27 09:25:48 +0200 |
commit | df3f93596c8ffb97482bb6d90f4933d7417605aa (patch) | |
tree | e447ae737536aae5eba3e7dceb0528e5349792b8 /drivers/parisc | |
parent | ba8723b1edf9dbd4c10a739375a60506fd00652b (diff) |
parisc: lba: Convert LBA PCI bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc')
-rw-r--r-- | drivers/parisc/lba_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
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). |