Patchwork mtd: denali: add Kconfig dependency

login
register
mail settings
Submitter karl beldan
Date June 12, 2010, 10:25 a.m.
Message ID <1276338313-12224-1-git-send-email-karl.beldan@gmail.com>
Download mbox | patch
Permalink /patch/55387/
State New
Headers show

Comments

karl beldan - June 12, 2010, 10:25 a.m.
Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
---
 drivers/mtd/nand/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Artem Bityutskiy - June 13, 2010, 9:57 a.m.
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.

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