summaryrefslogtreecommitdiffstats
path: root/drivers/sbus/sbus.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 13:20:14 +0200
committerDavid S. Miller <davem@davemloft.net>2008-08-29 11:15:19 +0200
commitf8e4d32cb5153a9d6a8e8864e357dad1349f3b85 (patch)
treecaa92e6dfa504a528f47de9fbb736fcdeac70129 /drivers/sbus/sbus.c
parentsparc32: Kill sbus_is_slave(). (diff)
downloadlinux-f8e4d32cb5153a9d6a8e8864e357dad1349f3b85.tar.xz
linux-f8e4d32cb5153a9d6a8e8864e357dad1349f3b85.zip
sparc: Kill sbus_arch_preinit().
32-bit sparc just needed it to register the ioport procfs bits, do this via an arch_initcall() instead. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/sbus/sbus.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/sbus/sbus.c b/drivers/sbus/sbus.c
index 64c3e45875ff..399567b7e15e 100644
--- a/drivers/sbus/sbus.c
+++ b/drivers/sbus/sbus.c
@@ -153,9 +153,6 @@ static int __init sbus_init(void)
const char *sbus_name = "sbus";
int num_sbus = 0;
- if (sbus_arch_preinit())
- return 0;
-
if (sparc_cpu_model == sun4d)
sbus_name = "sbi";