summaryrefslogtreecommitdiff
path: root/drivers/parisc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/gsc.c4
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);