Patchwork MTD: nand: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS

login
register
mail settings
Submitter Datta, Shubhrajyoti
Date Nov. 15, 2011, 10:22 a.m.
Message ID <1321352556-7080-1-git-send-email-shubhrajyoti@ti.com>
Download mbox | patch
Permalink /patch/125718/
State Accepted
Commit 12f049bd59676a672f529586b9b13c986c4bf40f
Headers show

Comments

Datta, Shubhrajyoti - Nov. 15, 2011, 10:22 a.m.
Making  MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of
oring with ARCH2/3/4.

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
---
 drivers/mtd/nand/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Russell King - ARM Linux - Nov. 15, 2011, 5:52 p.m.
On Tue, Nov 15, 2011 at 03:52:36PM +0530, Shubhrajyoti D wrote:
> Making  MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of
> oring with ARCH2/3/4.
> 
> Reported-by: Russell King <linux@arm.linux.org.uk>

Thanks, but please make this rmk+kernel@arm.linux.org.uk.

> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
> ---
>  drivers/mtd/nand/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> index cce7b70..b68dd5e 100644
> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -110,7 +110,7 @@ config MTD_NAND_AMS_DELTA
>  
>  config MTD_NAND_OMAP2
>  	tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4"
> -	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4)
> +	depends on ARCH_OMAP2PLUS
>  	help
>            Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
>  	  platforms.
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Datta, Shubhrajyoti - Nov. 16, 2011, 5:19 a.m.
On Tuesday 15 November 2011 11:22 PM, Russell King - ARM Linux wrote:
> On Tue, Nov 15, 2011 at 03:52:36PM +0530, Shubhrajyoti D wrote:
>> Making  MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of
>> oring with ARCH2/3/4.
>>
>> Reported-by: Russell King <linux@arm.linux.org.uk>
> Thanks, but please make this rmk+kernel@arm.linux.org.uk.
yes , will correct it.
>> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
>> ---
>>  drivers/mtd/nand/Kconfig |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
>> index cce7b70..b68dd5e 100644
>> --- a/drivers/mtd/nand/Kconfig
>> +++ b/drivers/mtd/nand/Kconfig
>> @@ -110,7 +110,7 @@ config MTD_NAND_AMS_DELTA
>>  
>>  config MTD_NAND_OMAP2
>>  	tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4"
>> -	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4)
>> +	depends on ARCH_OMAP2PLUS
>>  	help
>>            Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
>>  	  platforms.
>> -- 
>> 1.7.1
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Patch

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index cce7b70..b68dd5e 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -110,7 +110,7 @@  config MTD_NAND_AMS_DELTA
 
 config MTD_NAND_OMAP2
 	tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4"
-	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4)
+	depends on ARCH_OMAP2PLUS
 	help
           Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
 	  platforms.