summaryrefslogtreecommitdiffstats
path: root/drivers/ide/mips/Makefile
diff options
context:
space:
mode:
authorRalf Baechle2008-10-05 18:23:28 +0200
committerBartlomiej Zolnierkiewicz2008-10-05 18:23:28 +0200
commit2fef357cf391b56b8b6952a412f7324e50427a77 (patch)
treef93b84a3e9a63d640f14e8bcaaddd49c41790392 /drivers/ide/mips/Makefile
parentide-dma: fix ide_build_dmatable() for TRM290 (diff)
downloadkernel-qcow2-linux-2fef357cf391b56b8b6952a412f7324e50427a77.tar.gz
kernel-qcow2-linux-2fef357cf391b56b8b6952a412f7324e50427a77.tar.xz
kernel-qcow2-linux-2fef357cf391b56b8b6952a412f7324e50427a77.zip
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 'drivers/ide/mips/Makefile')
-rw-r--r--drivers/ide/mips/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/mips/Makefile b/drivers/ide/mips/Makefile
index 677c7b2bac92..5873fa0b8769 100644
--- a/drivers/ide/mips/Makefile
+++ b/drivers/ide/mips/Makefile
@@ -1,4 +1,3 @@
-obj-$(CONFIG_BLK_DEV_IDE_SWARM) += swarm.o
obj-$(CONFIG_BLK_DEV_IDE_AU1XXX) += au1xxx-ide.o
EXTRA_CFLAGS := -Idrivers/ide