From patchwork Tue Sep 18 03:30:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 1470381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 61A67DF24C for ; Tue, 18 Sep 2012 03:34:51 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TDoWY-000377-9e; Tue, 18 Sep 2012 03:30:58 +0000 Received: from mail-ob0-f177.google.com ([209.85.214.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TDoWU-00036s-SD for linux-arm-kernel@lists.infradead.org; Tue, 18 Sep 2012 03:30:55 +0000 Received: by obbta17 with SMTP id ta17so10363963obb.36 for ; Mon, 17 Sep 2012 20:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :content-transfer-encoding:mime-version; bh=1PFa2M+SxRHnpgvRJmo8du4VZrWjvRdCFSQWFpkOnIg=; b=l/Ke2hRcHRkE6HlKS3Kgg4kUxFirmHErKgz154TO8qkpLTMd5pdIt95Y5Eoh9wxfGk bIl2cs/LK3DJ1W8SZBJty77D4MQIhMljtpoeSeRzDY/XYUiGKs7bs/Ssw65ZOPSk9LG5 BZDY7syOLCQhiwnF/oYYH033cFsCMhKAhuba1nvA3d0Dx9Z9Wgdv2KtNde0hGryE5HHV bhMzNFFGAyPAXMxevuyzVvxcV8jTNZ85oN46W8UUk6oMEw+fo0FtVGJph3FX/2y2CjVu azIzA9VB0i1srbzJCcfwsBMVegMvWy3LV11PWmLCABQJpx9DKOa6+95P0hovbRXIlFRY kk3g== Received: by 10.60.29.134 with SMTP id k6mr13605884oeh.5.1347939050456; Mon, 17 Sep 2012 20:30:50 -0700 (PDT) Received: from [114.39.107.123] (114-39-107-123.dynamic.hinet.net. [114.39.107.123]) by mx.google.com with ESMTPS id i2sm13020232obn.19.2012.09.17.20.30.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Sep 2012 20:30:49 -0700 (PDT) Message-ID: <1347939042.15578.1.camel@phoenix> Subject: [PATCH] ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS From: Axel Lin To: Tony Lindgren Date: Tue, 18 Sep 2012 11:30:42 +0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (axel.lin[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bryan Wu X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This fixes below build error when CONFIG_LEDS_CLASS is not set. LD init/built-in.o arch/arm/plat-omap/built-in.o: In function `fpga_probe': arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_classdev_register' make: *** [vmlinux] Error 1 Signed-off-by: Axel Lin --- arch/arm/plat-omap/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index ca83a76..c262781 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig @@ -43,6 +43,7 @@ config OMAP_DEBUG_DEVICES config OMAP_DEBUG_LEDS def_bool y if NEW_LEDS + select LEDS_CLASS depends on OMAP_DEBUG_DEVICES config POWER_AVS_OMAP