summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-27 09:43:52 +0300
committerHelge Deller <deller@gmx.de>2023-08-27 10:17:37 +0300
commit07c34e9fdcda868ef33c234e403b88dfb4aa6d8c (patch)
tree790ac027e97392ed98c1013dd9dc84f00ed60801 /drivers
parent59bf860a97c152efff6b357009bb2016caa46552 (diff)
downloadlinux-07c34e9fdcda868ef33c234e403b88dfb4aa6d8c.tar.xz
parisc: dino: Convert dino PCI bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers')
-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);