summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/dino.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-27 08:43:52 +0200
committerHelge Deller <deller@gmx.de>2023-08-27 09:17:37 +0200
commit07c34e9fdcda868ef33c234e403b88dfb4aa6d8c (patch)
tree790ac027e97392ed98c1013dd9dc84f00ed60801 /drivers/parisc/dino.c
parent59bf860a97c152efff6b357009bb2016caa46552 (diff)
downloadlinux-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.c6
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);