mtd: denali: add Kconfig dependency
authorKarl Beldan <karl.beldan@gmail.com>
Sat, 12 Jun 2010 10:25:13 +0000 (12:25 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:02:00 +0000 (09:02 +0100)
Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/Kconfig

index 4d4066f315be272ee71a1cbeed08f2152b96b442..1d69920a2c93d24b11e7a74e21b3c23e3c33ee11 100644 (file)
@@ -60,6 +60,7 @@ config MTD_NAND_DENALI
 config MTD_NAND_DENALI_SCRATCH_REG_ADDR
         hex "Denali NAND size scratch register address"
         default "0xFF108018"
+        depends on MTD_NAND_DENALI
         help
           Some platforms place the NAND chip size in a scratch register
           because (some versions of) the driver aren't able to automatically