From patchwork Mon Aug 31 00:30:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Woithe X-Patchwork-Id: 44785 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7V0WJI3016677 for ; Mon, 31 Aug 2009 00:32:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753929AbZHaAcH (ORCPT ); Sun, 30 Aug 2009 20:32:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754026AbZHaAcH (ORCPT ); Sun, 30 Aug 2009 20:32:07 -0400 Received: from adelphi.physics.adelaide.edu.au ([129.127.102.1]:42756 "EHLO adelphi.physics.adelaide.edu.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753929AbZHaAcH (ORCPT ); Sun, 30 Aug 2009 20:32:07 -0400 Received: from sprite.physics.adelaide.edu.au (IDENT:0@sprite [129.127.102.52]) by adelphi.physics.adelaide.edu.au (8.13.7/8.13.7/UofA-Physics-1.0) with ESMTP id n7V0UnUn025355; Mon, 31 Aug 2009 10:00:49 +0930 Received: from sprite.physics.adelaide.edu.au (IDENT:7157@localhost [127.0.0.1]) by sprite.physics.adelaide.edu.au (8.13.4/8.13.4) with ESMTP id n7V0UnwN001728; Mon, 31 Aug 2009 10:00:49 +0930 Received: (from jwoithe@localhost) by sprite.physics.adelaide.edu.au (8.13.4/8.13.4/Submit) id n7V0UmlZ001727; Mon, 31 Aug 2009 10:00:48 +0930 From: Jonathan Woithe Message-Id: <200908310030.n7V0UmlZ001727@sprite.physics.adelaide.edu.au> Subject: [PATCH] fujitsu-laptop: address missed led-class ifdef fixup To: linux-acpi@vger.kernel.org, lenb@kernel.org Date: Mon, 31 Aug 2009 10:00:48 +0930 (CST) Cc: jwoithe@physics.adelaide.edu.au (Jonathan Woithe) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Hi Len The following patch follows on from "[PATCH] fujitsu-laptop: support led-class as module" which has gone into -test. It's a trivial fix for one of the CONFIG_LEDS_CLASS ifdefs which was somehow missed in the original patch. Signed-off-by: Jonathan Woithe --- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/platform/x86/fujitsu-laptop.c 2009-08-31 09:52:14.242247260 +0930 +++ b/drivers/platform/x86/fujitsu-laptop.c 2009-08-31 09:53:18.812961106 +0930 @@ -944,7 +944,7 @@ struct fujitsu_hotkey_t *fujitsu_hotkey = acpi_driver_data(device); struct input_dev *input = fujitsu_hotkey->input; -#ifdef CONFIG_LEDS_CLASS +#if defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE) if (fujitsu_hotkey->logolamp_registered) led_classdev_unregister(&logolamp_led);