mpc8xx: Only build mpc8xx on arch/ppc
authorKumar Gala <galak@kernel.crashing.org>
Tue, 11 Sep 2007 20:28:33 +0000 (22:28 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 11 Sep 2007 20:28:33 +0000 (22:28 +0200)
Currently the mpc8xx ide driver will only work on arch/ppc so only
allow it to be built there.  Also, killed a minor include that isn't
actually used by the driver.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/Kconfig
drivers/ide/ppc/mpc8xx.c

index 7adb61bad6ad621747556d9b77a776f9935fc810..24ad1048e17d451d09bba7fabb6352af717a15f7 100644 (file)
@@ -946,7 +946,7 @@ config BLK_DEV_Q40IDE
 
 config BLK_DEV_MPC8xx_IDE
        bool "MPC8xx IDE support"
-       depends on 8xx && IDE=y && BLK_DEV_IDE=y
+       depends on 8xx && IDE=y && BLK_DEV_IDE=y && !PPC_MERGE
        select IDE_GENERIC
        help
          This option provides support for IDE on Motorola MPC8xx Systems.
index 8859fe2f5ac2ec6e0a5f1d17c00c8eddac9997d9..dab79afa9b223629ef3aca1ae0b024c36566a7c3 100644 (file)
@@ -32,7 +32,6 @@
 #include <asm/mpc8xx.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
-#include <asm/residual.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/ide.h>