summaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-27 09:38:32 +0200
committerHelge Deller <deller@gmx.de>2023-08-27 09:38:32 +0200
commit53861a915afeb445126588da266fc5031d1c8eaa (patch)
tree80d608cea357b5661735a0bd09282238006bddd1 /drivers/parisc
parentparisc: led: Move register_led_regions() to late_initcall() (diff)
downloadlinux-53861a915afeb445126588da266fc5031d1c8eaa.tar.xz
linux-53861a915afeb445126588da266fc5031d1c8eaa.zip
parisc: sba_iommu: Convert SBA IOMMU driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/sba_iommu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index 8b1dcd537020..33da29d65f30 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -1994,10 +1994,11 @@ static int __init sba_driver_callback(struct parisc_device *dev)
** This is the only routine which is NOT static.
** Must be called exactly once before pci_init().
*/
-void __init sba_init(void)
+static int __init sba_init(void)
{
- register_parisc_driver(&sba_driver);
+ return register_parisc_driver(&sba_driver);
}
+arch_initcall(sba_init);
/**