From patchwork Thu Oct 8 03:49:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Woithe X-Patchwork-Id: 52416 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 n984Dx96020185 for ; Thu, 8 Oct 2009 04:13:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750790AbZJHENO (ORCPT ); Thu, 8 Oct 2009 00:13:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750798AbZJHENO (ORCPT ); Thu, 8 Oct 2009 00:13:14 -0400 Received: from adelphi.physics.adelaide.edu.au ([129.127.102.1]:32856 "EHLO adelphi.physics.adelaide.edu.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbZJHENN (ORCPT ); Thu, 8 Oct 2009 00:13:13 -0400 X-Greylist: delayed 1335 seconds by postgrey-1.27 at vger.kernel.org; Thu, 08 Oct 2009 00:13:12 EDT Received: from turbo.physics.adelaide.edu.au (IDENT:0@turbo [129.127.102.108]) by adelphi.physics.adelaide.edu.au (8.13.7/8.13.7/UofA-Physics-1.0) with ESMTP id n983nCnT009116; Thu, 8 Oct 2009 13:19:13 +0930 Received: from turbo.physics.adelaide.edu.au (IDENT:7157@localhost [127.0.0.1]) by turbo.physics.adelaide.edu.au (8.13.4/8.13.4) with ESMTP id n983nCOE006617; Thu, 8 Oct 2009 13:19:12 +0930 Received: (from jwoithe@localhost) by turbo.physics.adelaide.edu.au (8.13.4/8.13.4/Submit) id n983nCmJ006616; Thu, 8 Oct 2009 13:19:12 +0930 From: Jonathan Woithe Message-Id: <200910080349.n983nCmJ006616@turbo.physics.adelaide.edu.au> Subject: [RESEND] [PATCH] fujitsu-laptop: address missed led-class ifdef fixup To: linux-acpi@vger.kernel.org, lenb@kernel.org Date: Thu, 8 Oct 2009 13:19:12 +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 --- 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);