diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 09:56:16 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-27 10:17:37 +0300 |
commit | 49663185d050ddb4b2bc3297c04c976078c4911f (patch) | |
tree | 8ec77ac62ba3703e274b2a822841ba307c993e00 /drivers/parisc | |
parent | 07c34e9fdcda868ef33c234e403b88dfb4aa6d8c (diff) | |
download | linux-49663185d050ddb4b2bc3297c04c976078c4911f.tar.xz |
parisc: hppb: Convert HP PB bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc')
-rw-r--r-- | drivers/parisc/hppb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/parisc/hppb.c b/drivers/parisc/hppb.c index e60e68664654..0f9d80384e3d 100644 --- a/drivers/parisc/hppb.c +++ b/drivers/parisc/hppb.c @@ -96,9 +96,10 @@ static struct parisc_driver hppb_driver __refdata = { /** * hppb_init - HP-PB bus initialization procedure. * - * Register this driver. + * Register this driver. */ -void __init hppb_init(void) +static int __init hppb_init(void) { - register_parisc_driver(&hppb_driver); + return register_parisc_driver(&hppb_driver); } +arch_initcall(hppb_init); |