Explorar o código

[MTD] 4xx: Don't build arch/ppc dependent drivers in arch/powerpc

These drivers are specific to 4xx support in arch/ppc at the moment.  Make
sure they don't get built on arch/powerpc.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Josh Boyer %!s(int64=18) %!d(string=hai) anos
pai
achega
3feb0ff160
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 2 2
      drivers/mtd/maps/Kconfig
  2. 1 1
      drivers/mtd/nand/Kconfig

+ 2 - 2
drivers/mtd/maps/Kconfig

@@ -354,7 +354,7 @@ config MTD_CFI_FLAGADM
 
 
 config MTD_WALNUT
 config MTD_WALNUT
 	tristate "Flash device mapped on IBM 405GP Walnut"
 	tristate "Flash device mapped on IBM 405GP Walnut"
-	depends on MTD_JEDECPROBE && WALNUT
+	depends on MTD_JEDECPROBE && WALNUT && !PPC_MERGE
 	help
 	help
 	  This enables access routines for the flash chips on the IBM 405GP
 	  This enables access routines for the flash chips on the IBM 405GP
 	  Walnut board. If you have one of these boards and would like to
 	  Walnut board. If you have one of these boards and would like to
@@ -370,7 +370,7 @@ config MTD_EBONY
 
 
 config MTD_OCOTEA
 config MTD_OCOTEA
 	tristate "Flash devices mapped on IBM 440GX Ocotea"
 	tristate "Flash devices mapped on IBM 440GX Ocotea"
-	depends on MTD_CFI && OCOTEA
+	depends on MTD_CFI && OCOTEA && !PPC_MERGE
 	help
 	help
 	  This enables access routines for the flash chips on the IBM 440GX
 	  This enables access routines for the flash chips on the IBM 440GX
 	  Ocotea board. If you have one of these boards and would like to
 	  Ocotea board. If you have one of these boards and would like to

+ 1 - 1
drivers/mtd/nand/Kconfig

@@ -134,7 +134,7 @@ config MTD_NAND_S3C2410_HWECC
 
 
 config MTD_NAND_NDFC
 config MTD_NAND_NDFC
 	tristate "NDFC NanD Flash Controller"
 	tristate "NDFC NanD Flash Controller"
-	depends on 44x
+	depends on 44x && !PPC_MERGE
 	select MTD_NAND_ECC_SMC
 	select MTD_NAND_ECC_SMC
 	help
 	help
 	 NDFC Nand Flash Controllers are integrated in EP44x SoCs
 	 NDFC Nand Flash Controllers are integrated in EP44x SoCs