aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/sun3/sbus.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-17 21:16:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 17:24:39 -0700
commit07b8125949de66b6552966de8d4280c3a8620359 (patch)
tree63452e21b34a57d8bd0ee3341d419781a77adddb /arch/m68k/sun3/sbus.c
parent22deb527ce5d13e07652f81a53032aa0214ea8c3 (diff)
downloadkernel_samsung_smdk4412-07b8125949de66b6552966de8d4280c3a8620359.zip
kernel_samsung_smdk4412-07b8125949de66b6552966de8d4280c3a8620359.tar.gz
kernel_samsung_smdk4412-07b8125949de66b6552966de8d4280c3a8620359.tar.bz2
m68k/sun3/: possible cleanups
This patch contains the following possible cleanups: - make the following needlessly global code static: - config.c: sun3_bootmem_alloc() - config.c: sun3_sched_init() - dvma.c: dvma_page() - idprom.c: struct Sun_Machines[] - mmu_emu.c: struct ctx_alloc[] - sun3dvma.c: iommu_use[] - sun3ints.c: led_pattern[] - remove the unused sbus.c Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/sun3/sbus.c')
-rw-r--r--arch/m68k/sun3/sbus.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/m68k/sun3/sbus.c b/arch/m68k/sun3/sbus.c
deleted file mode 100644
index babdbfa..0000000
--- a/arch/m68k/sun3/sbus.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SBus helper functions
- *
- * Sun3 don't have a sbus, but many of the used devices are also
- * used on Sparc machines with sbus. To avoid having a lot of
- * duplicate code, we provide necessary glue stuff to make using
- * of the sbus driver code possible.
- *
- * (C) 1999 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
- */
-
-#include <linux/types.h>
-#include <linux/compiler.h>
-#include <linux/init.h>
-
-int __init sbus_init(void)
-{
- return 0;
-}
-
-void *sparc_alloc_io (u32 address, void *virtual, int len, char *name,
- u32 bus_type, int rdonly)
-{
- return (void *)address;
-}
-
-subsys_initcall(sbus_init);