diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 08:43:52 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-27 09:17:37 +0200 |
commit | 07c34e9fdcda868ef33c234e403b88dfb4aa6d8c (patch) | |
tree | 790ac027e97392ed98c1013dd9dc84f00ed60801 /drivers/parisc/dino.c | |
parent | 59bf860a97c152efff6b357009bb2016caa46552 (diff) | |
download | linux-07c34e9fdcda868ef33c234e403b88dfb4aa6d8c.tar.gz linux-07c34e9fdcda868ef33c234e403b88dfb4aa6d8c.tar.bz2 linux-07c34e9fdcda868ef33c234e403b88dfb4aa6d8c.zip |
parisc: dino: Convert dino PCI bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/dino.c')
-rw-r--r-- | drivers/parisc/dino.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c index f89f9fb4c84b..01a50a051296 100644 --- a/drivers/parisc/dino.c +++ b/drivers/parisc/dino.c @@ -1084,8 +1084,8 @@ static struct parisc_driver dino_driver __refdata = { * This is the only routine which is NOT static. * Must be called exactly once before pci_init(). */ -void __init dino_init(void) +static int __init dino_init(void) { - register_parisc_driver(&dino_driver); + return register_parisc_driver(&dino_driver); } - +arch_initcall(dino_init); |