Browse Source

mtd: rawnand: gpmi: Remove useless dependency on MTD_NAND

The MTD_NAND_GPMI_NAND entry is already defined in an 'if MTD_NAND'
block, no need to add an extra "depends on MTD_NAND".

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Boris Brezillon 7 years ago
parent
commit
4d54df4335
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/nand/raw/Kconfig

+ 1 - 1
drivers/mtd/nand/raw/Kconfig

@@ -340,7 +340,7 @@ config MTD_NAND_NANDSIM
 
 
 config MTD_NAND_GPMI_NAND
 config MTD_NAND_GPMI_NAND
         tristate "GPMI NAND Flash Controller driver"
         tristate "GPMI NAND Flash Controller driver"
-        depends on MTD_NAND && MXS_DMA
+        depends on MXS_DMA
         help
         help
 	 Enables NAND Flash support for IMX23, IMX28 or IMX6.
 	 Enables NAND Flash support for IMX23, IMX28 or IMX6.
 	 The GPMI controller is very powerful, with the help of BCH
 	 The GPMI controller is very powerful, with the help of BCH