aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/swarm/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-10-05 12:23:28 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-05 12:23:28 -0400
commit2fef357cf391b56b8b6952a412f7324e50427a77 (patch)
treef93b84a3e9a63d640f14e8bcaaddd49c41790392 /arch/mips/sibyte/swarm/Makefile
parent22e05b4549bf2405d6aca128540b20cd2dd33f1f (diff)
IDE: Fix platform device registration in Swarm IDE driver (v2)
The Swarm IDE driver uses a release method which is defined in the driver itself thus potentially oopsable. The simple fix would be to just leak the device but this patch goes the full length and moves the entire handling of the platform device in the platform code and retains only the platform driver code in drivers/ide/mips/swarm.c. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: "Maciej W. Rozycki" <macro@linux-mips.org> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> [bart: remove no longer needed BLK_DEV_IDE_SWARM from ide/Kconfig] Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'arch/mips/sibyte/swarm/Makefile')
-rw-r--r--arch/mips/sibyte/swarm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/sibyte/swarm/Makefile b/arch/mips/sibyte/swarm/Makefile
index f18ba9201bbc..7b45f199d92a 100644
--- a/arch/mips/sibyte/swarm/Makefile
+++ b/arch/mips/sibyte/swarm/Makefile
@@ -1,3 +1,4 @@
1obj-y := setup.o rtc_xicor1241.o rtc_m41t81.o 1obj-y := platform.o setup.o rtc_xicor1241.o \
2 rtc_m41t81.o
2 3
3obj-$(CONFIG_I2C_BOARDINFO) += swarm-i2c.o 4obj-$(CONFIG_I2C_BOARDINFO) += swarm-i2c.o