summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/gsc.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-27 11:03:20 +0200
committerHelge Deller <deller@gmx.de>2023-08-27 11:09:10 +0200
commitd75ef5994db384856f1590ecac2ad38ebcde1a4a (patch)
tree54efbfc18c4034b4f9cef4768afb0a144112e765 /drivers/parisc/gsc.c
parentparisc: asp: Initialize asp driver via arch_initcall() (diff)
downloadlinux-d75ef5994db384856f1590ecac2ad38ebcde1a4a.tar.xz
linux-d75ef5994db384856f1590ecac2ad38ebcde1a4a.zip
parisc: lasi: Initialize LASI driver via arch_initcall()
Move initialization code for LASI out of the GSC driver. Since ASP and WAX have been moved in previous commits, the GSC driver is now just a driver which provides library functions for LASI, ASP and WAX and as such doesn't need an own initialization function any longer. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/gsc.c')
-rw-r--r--drivers/parisc/gsc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/parisc/gsc.c b/drivers/parisc/gsc.c
index 5643c46a4255..a0daaa548bc3 100644
--- a/drivers/parisc/gsc.c
+++ b/drivers/parisc/gsc.c
@@ -258,14 +258,3 @@ int gsc_common_setup(struct parisc_device *parent, struct gsc_asic *gsc_asic)
return 0;
}
-
-extern struct parisc_driver lasi_driver;
-
-static int __init gsc_init(void)
-{
-#ifdef CONFIG_GSC_LASI
- register_parisc_driver(&lasi_driver);
-#endif
- return 0;
-}
-arch_initcall(gsc_init);