From patchwork Wed May 1 18:44:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 2508631 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id B361F40206 for ; Wed, 1 May 2013 18:44:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756266Ab3EASos (ORCPT ); Wed, 1 May 2013 14:44:48 -0400 Received: from casper.infradead.org ([85.118.1.10]:40372 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756600Ab3EASob (ORCPT ); Wed, 1 May 2013 14:44:31 -0400 Received: from static-50-53-38-135.bvtn.or.frontiernet.net ([50.53.38.135] helo=dragon.site) by casper.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXc0y-0002UT-Ua; Wed, 01 May 2013 18:44:29 +0000 Message-ID: <51816271.3040400@infradead.org> Date: Wed, 01 May 2013 11:44:01 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Kosina , "linux-input@vger.kernel.org" Subject: [PATCH -next] hid: fix hid-steelseries kconfig/build References: <20130501183734.7ad1efca2d06e75432edabbd@canb.auug.org.au> In-Reply-To: <20130501183734.7ad1efca2d06e75432edabbd@canb.auug.org.au> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Randy Dunlap Fix hid-steelseries build by making it depends on LEDS_CLASS. Build errors happen when LEDS_CLASS=m and HID_STEELSERIES=y. drivers/built-in.o: In function `steelseries_srws1_remove': hid-steelseries.c:(.text+0x3b97a1): undefined reference to `led_classdev_unregister' drivers/built-in.o: In function `steelseries_srws1_probe': hid-steelseries.c:(.text+0x3b9c51): undefined reference to `led_classdev_register' hid-steelseries.c:(.text+0x3b9ce5): undefined reference to `led_classdev_register' hid-steelseries.c:(.text+0x3b9d4b): undefined reference to `led_classdev_unregister' Signed-off-by: Randy Dunlap --- drivers/hid/Kconfig | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20130501.orig/drivers/hid/Kconfig +++ linux-next-20130501/drivers/hid/Kconfig @@ -610,6 +610,7 @@ config HID_SPEEDLINK config HID_STEELSERIES tristate "Steelseries SRW-S1 steering wheel support" depends on HID + depends on LEDS_CLASS ---help--- Support for Steelseries SRW-S1 steering wheel