linux-mips
[Top] [All Lists]

[PATCH] MIPS:fix the build warning

To: ralf@linux-mips.org, david.woodhouse@intel.com, akpm@linux-foundation.org, mingo@elte.hu
Subject: [PATCH] MIPS:fix the build warning
From: wanlong.gao@gmail.com
Date: Sun, 10 Apr 2011 01:42:17 +0800
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Wanlong Gao <wanlong.gao@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=K2SxquBAsrGztBy/4Ma46A+ekqzD7WXU+7KMCA045Vg=; b=mer9g6K+4ncCEwXGeVe3hgGYvnYOdxk8l+NoOzKlJKsBs03Lr0BUuDLr2Vb1Uuznd4 4k3O8KMDxZezB7e2SiBLOvRyZouDw3m22iAAtzRQ/3bzJOV0XYekYSJSI81gizfhRTSI 0/a4JmrOpBdG9mr/ZRrzMQ1/Q/BtCp6woXWiA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=DH1auiinRCx5nKIcc9NvTSUf0aXSXEcW0BL/n/XnW/bN27Gdgl6A23nJ57c6nFslrG DzW7olj0WBk44AKVd23pV4eM89ikxdU4OUNl+YL34Pl+1Jq6kQnyJ26vPio9wLgiRXjx u2N7uRM+AbNPe5IeSD2aGtMwkC9bdiIh0Qtww=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: Wanlong Gao <wanlong.gao@gmail.com>

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

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
 arch/mips/configs/lemote2f_defconfig |    2 +-
 arch/mips/configs/malta_defconfig    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/configs/lemote2f_defconfig 
b/arch/mips/configs/lemote2f_defconfig
index 167c1d0..cb2c5ea 100644
--- a/arch/mips/configs/lemote2f_defconfig
+++ b/arch/mips/configs/lemote2f_defconfig
@@ -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
diff --git a/arch/mips/configs/malta_defconfig 
b/arch/mips/configs/malta_defconfig
index 7270f31..5527abb 100644
--- a/arch/mips/configs/malta_defconfig
+++ b/arch/mips/configs/malta_defconfig
@@ -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
-- 
1.7.3


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] MIPS:fix the build warning, wanlong . gao <=