From 49663185d050ddb4b2bc3297c04c976078c4911f Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 27 Aug 2023 08:56:16 +0200 Subject: parisc: hppb: Convert HP PB bus driver to use arch_initcall() Signed-off-by: Helge Deller --- drivers/parisc/hppb.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'drivers/parisc') 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); -- cgit v1.2.3-58-ga151