diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 10:33:07 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-27 10:54:10 +0200 |
commit | 9c2ca106c9fecea2f1564ccc276b3db1f2ab25e8 (patch) | |
tree | 538dbf97e403282d1fc9280b415cc3d7e1b34239 /drivers | |
parent | 53861a915afeb445126588da266fc5031d1c8eaa (diff) | |
download | linux-stable-9c2ca106c9fecea2f1564ccc276b3db1f2ab25e8.tar.gz linux-stable-9c2ca106c9fecea2f1564ccc276b3db1f2ab25e8.tar.bz2 linux-stable-9c2ca106c9fecea2f1564ccc276b3db1f2ab25e8.zip |
parisc: iosapic: Convert I/O Sapic driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/parisc/iosapic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/parisc/iosapic.c b/drivers/parisc/iosapic.c index 27478e9f4e84..a7df764f1a72 100644 --- a/drivers/parisc/iosapic.c +++ b/drivers/parisc/iosapic.c @@ -348,13 +348,10 @@ iosapic_load_irt(unsigned long cell_num, struct irt_entry **irt) } - -void __init iosapic_init(void) +static int __init iosapic_init(void) { unsigned long cell = 0; - DBG("iosapic_init()\n"); - #ifdef __LP64__ if (is_pdc_pat()) { int status; @@ -371,7 +368,10 @@ void __init iosapic_init(void) irt_num_entry = iosapic_load_irt(cell, &irt_cell); if (irt_num_entry == 0) irt_cell = NULL; /* old PDC w/o iosapic */ + + return 0; } +arch_initcall(iosapic_init); /* |