diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 09:14:42 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-27 09:17:37 +0200 |
commit | ba8723b1edf9dbd4c10a739375a60506fd00652b (patch) | |
tree | ffed4f3f3a707b09eafa8da42cea97dd9d1b986b /drivers/parisc/gsc.c | |
parent | 63c1ce56abddec2cec046cdbe6260bca09bf89a1 (diff) | |
download | linux-ba8723b1edf9dbd4c10a739375a60506fd00652b.tar.gz linux-ba8723b1edf9dbd4c10a739375a60506fd00652b.tar.bz2 linux-ba8723b1edf9dbd4c10a739375a60506fd00652b.zip |
parisc: gsc: Convert GSC bus driver to use arch_initcall()
This conversion includes LASI, ASP and WAX drivers for now.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/gsc.c')
-rw-r--r-- | drivers/parisc/gsc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/parisc/gsc.c b/drivers/parisc/gsc.c index ec175ae99873..f6a8f26d8c40 100644 --- a/drivers/parisc/gsc.c +++ b/drivers/parisc/gsc.c @@ -263,7 +263,7 @@ extern struct parisc_driver lasi_driver; extern struct parisc_driver asp_driver; extern struct parisc_driver wax_driver; -void __init gsc_init(void) +static int __init gsc_init(void) { #ifdef CONFIG_GSC_LASI register_parisc_driver(&lasi_driver); @@ -272,4 +272,6 @@ void __init gsc_init(void) #ifdef CONFIG_GSC_WAX register_parisc_driver(&wax_driver); #endif + return 0; } +arch_initcall(gsc_init); |