Subject: [PATCH] arm: fix KConfig warning for mach-mx25
Subsystems (3)
From: Peter Huewe <peterhuewe at gmx.de
This patch fixes a KConfig warning:
"arch/arm/mach-mx25/Kconfig:18:warning: choice value used outside its choice group"
---
KernelVersion: linux-next-20100628
arch/arm/mach-mx25/Kconfig | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/arm/mach-mx25/Kconfig +1 -2
@@ -15,8 +15,7 @@ choice default MACH_EUKREA_MBIMXSD_BASEBOARD config MACH_EUKREA_MBIMXSD_BASEBOARD - prompt "Eukrea MBIMXSD development board" - bool + bool "Eukrea MBIMXSD development board" help This adds board specific devices that can be found on Eukrea's MBIMXSD evaluation board.
Signature · 1 line
1.7.1
Hiho,
[added linux-kbuild at vger.kernel.org to Cc:]
Quoted 7 lines · Peter H?we
From: Peter Huewe <[email protected]
This patch fixes a KConfig warning:
"arch/arm/mach-mx25/Kconfig:18:warning: choice value used outside its choice group"Signed-off-by Peter Huewe <[email protected]>
The problem also goes away when renaming one of the two MACH_EUKREA_MBIMXSD_BASEBOARD (the other MACH_EUKREA_MBIMXSD_BASEBOARD is in arch/arm/mach-mx3/Kconfig). AFAIK Eric already sent a patch to fix this. I think this is the real issue, I don't know why the warning goes away with your patch.
Nevertheless I like your patch. And note there are two other variables in arch/arm/mach-mx2 that could benefit from the same "fix". (But as I moved this file in my tree I suggest to wait until my changes hit Linus' tree and then fix arch/arm/mach-imx/Kconfig.)
Best regards
Uwe
Quoted 21 lines
---
KernelVersion: linux-next-20100628arch/arm/mach-mx25/Kconfig | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)arch/arm/mach-mx25/Kconfig +1
-2@@ -15,8 +15,7 @@ choice default MACH_EUKREA_MBIMXSD_BASEBOARD config MACH_EUKREA_MBIMXSD_BASEBOARD - prompt "Eukrea MBIMXSD development board" - bool + bool "Eukrea MBIMXSD development board" help This adds board specific devices that can be found on Eukrea's MBIMXSD evaluation board.Signature · 1 line
1.7.1
Signature · 4 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ | Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |