Skip to contentSkip to conversation

MIPS:fix the build warning

PATCH In review [email protected] 2 participants 2 messages Apr 9, 2011 – May 12, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS:fix the build warning

From: Wanlong Gao <[email protected]>

LEDS_CLASS is a bool config .
Value 'm' is invalid for LEDS_CLASS.

---
 arch/mips/configs/lemote2f_defconfig |    2 +-
 arch/mips/configs/malta_defconfig    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/configs/lemote2f_defconfig +1 -1
index 167c1d0..cb2c5ea 100644
@@ -329,7 +329,7 @@ CONFIG_USB_LED=m
 CONFIG_USB_GADGET=m
 CONFIG_USB_GADGET_M66592=y
 CONFIG_MMC=m
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_STAGING=y
 # CONFIG_STAGING_EXCLUDE_BUILD is not set
 CONFIG_FB_SM7XX=y
arch/mips/configs/malta_defconfig +1 -1
index 7270f31..5527abb 100644
@@ -374,7 +374,7 @@ CONFIG_FB_CIRRUS=y
 # CONFIG_VGA_CONSOLE is not set
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_HID=m
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_TRIGGER_TIMER=m
 CONFIG_LEDS_TRIGGER_IDE_DISK=y
 CONFIG_LEDS_TRIGGER_HEARTBEAT=m
Signature · 1 line
1.7.3