diff mbox

leds: leds-ns2: depends on ARCH_KIRKWOOD

Message ID 1375454798-6849-1-git-send-email-simon.guinot@sequanux.org (mailing list archive)
State New, archived
Headers show

Commit Message

Simon Guinot Aug. 2, 2013, 2:46 p.m. UTC
With the DT conversion, the board Kconfig symbols MACH_ are going to be
removed. In order to prepare this removal, this patch replaces alls the
machines dependencies for leds-ns2 by ARCH_KIRKWOOD.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
---
Thomas,

Please, insert this patch in your series before the patch named:
[PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 to DT

Simon

 drivers/leds/Kconfig |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Jason Cooper Aug. 3, 2013, 6:16 p.m. UTC | #1
On Fri, Aug 02, 2013 at 04:46:38PM +0200, Simon Guinot wrote:
> With the DT conversion, the board Kconfig symbols MACH_ are going to be
> removed. In order to prepare this removal, this patch replaces alls the
> machines dependencies for leds-ns2 by ARCH_KIRKWOOD.
> 
> Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
> ---
> Thomas,
> 
> Please, insert this patch in your series before the patch named:
> [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 to DT
> 
> Simon
> 
>  drivers/leds/Kconfig |    5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Almost missed this one.  This should also go through -leds.

Acked-by: Jason Cooper <jason@lakedaemon.net>

thx,

Jason.
Bryan Wu Aug. 5, 2013, 10:50 p.m. UTC | #2
On Sat, Aug 3, 2013 at 11:16 AM, Jason Cooper <jason@lakedaemon.net> wrote:
> On Fri, Aug 02, 2013 at 04:46:38PM +0200, Simon Guinot wrote:
>> With the DT conversion, the board Kconfig symbols MACH_ are going to be
>> removed. In order to prepare this removal, this patch replaces alls the
>> machines dependencies for leds-ns2 by ARCH_KIRKWOOD.
>>
>> Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
>> ---
>> Thomas,
>>
>> Please, insert this patch in your series before the patch named:
>> [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 to DT
>>
>> Simon
>>
>>  drivers/leds/Kconfig |    5 +----
>>  1 file changed, 1 insertion(+), 4 deletions(-)
>
> Almost missed this one.  This should also go through -leds.
>
> Acked-by: Jason Cooper <jason@lakedaemon.net>
>

Sure, looks good to me and merged into my tree with Jason's Acked-by.

Thanks,
-Bryan
diff mbox

Patch

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index e43402d..0e41460 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -398,10 +398,7 @@  config LEDS_MC13783
 config LEDS_NS2
 	tristate "LED support for Network Space v2 GPIO LEDs"
 	depends on LEDS_CLASS
-	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || \
-		   MACH_NETSPACE_MAX_V2 || MACH_D2NET_V2 || \
-		   MACH_NETSPACE_V2_DT || MACH_INETSPACE_V2_DT || \
-		   MACH_NETSPACE_MAX_V2_DT || MACH_NETSPACE_MINI_V2_DT
+	depends on ARCH_KIRKWOOD
 	default y
 	help
 	  This option enable support for the dual-GPIO LED found on the