diff mbox

mtd: denali: add Kconfig dependency

Message ID 1276338313-12224-1-git-send-email-karl.beldan@gmail.com
State Accepted
Commit 1df620637fc3b252b69c92ced486b5b6b643dd1a
Headers show

Commit Message

Karl Beldan June 12, 2010, 10:25 a.m. UTC
Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
---
 drivers/mtd/nand/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Artem Bityutskiy June 13, 2010, 9:57 a.m. UTC | #1
On Sat, 2010-06-12 at 12:25 +0200, Karl Beldan wrote:
> Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
> ---
>  drivers/mtd/nand/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> index ffc3720..8fe82c8 100644
> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -61,6 +61,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

Pushed to l2-mtd-2.6.git / master, thanks.
diff mbox

Patch

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index ffc3720..8fe82c8 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -61,6 +61,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