From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755766Ab3LTJPf (ORCPT ); Fri, 20 Dec 2013 04:15:35 -0500 Received: from cantor2.suse.de ([195.135.220.15]:43532 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755020Ab3LTJP0 (ORCPT ); Fri, 20 Dec 2013 04:15:26 -0500 Date: Fri, 20 Dec 2013 10:15:25 +0100 Message-ID: From: Takashi Iwai To: Lv Zheng Cc: "Rafael J. Wysocki" , Len Brown , Lv Zheng , , linux-acpi@vger.kernel.org, Henrique de Moraes Holschuh , Jaroslav Kysela , alsa-devel@alsa-project.org, ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org Subject: Re: [UPDATE RFC PATCH 15/15] ACPI/thinkpad: Fix wrong inclusion in Thinkpad ACPI users. In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 20 Dec 2013 16:30:42 +0800, Lv Zheng wrote: > > CONFIG_ACPI dependent code should include instead of > directly including . This patch cleans up such wrong > inclusions for Thinkpad ACPI users. > > Cc: Henrique de Moraes Holschuh > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: alsa-devel@alsa-project.org > Cc: ibm-acpi-devel@lists.sourceforge.net > Cc: platform-driver-x86@vger.kernel.org > Signed-off-by: Lv Zheng Applied to sound git tree (with a different subject suffix), thanks. Takashi > --- > sound/pci/hda/patch_conexant.c | 2 +- > sound/pci/hda/patch_realtek.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c > index 3fbf288..6df4c35 100644 > --- a/sound/pci/hda/patch_conexant.c > +++ b/sound/pci/hda/patch_conexant.c > @@ -3243,7 +3243,7 @@ enum { > #if IS_ENABLED(CONFIG_THINKPAD_ACPI) > > #include > -#include > +#include > > static int (*led_set_func)(int, bool); > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index 34de5dc..5dca90e 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -3726,7 +3726,7 @@ static void alc290_fixup_mono_speakers(struct hda_codec *codec, > #if IS_ENABLED(CONFIG_THINKPAD_ACPI) > > #include > -#include > +#include > > static int (*led_set_func)(int, bool); > > -- > 1.7.10 >