From: Lv Zheng Date: Fri, 20 Dec 2013 08:30:42 +0000 (+0800) Subject: ALSA: hda - Fix wrong inclusion in Thinkpad ACPI users. X-Git-Tag: firefly_0821_release~176^2~4492^2~11^2~42 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d171ebc5b9d197c1ec76c4b21c91981649db4c65;p=firefly-linux-kernel-4.4.55.git ALSA: hda - Fix wrong inclusion in Thinkpad ACPI users. CONFIG_ACPI dependent code should include instead of directly including . This patch cleans up such wrong inclusions for Thinkpad ACPI users. Signed-off-by: Lv Zheng Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 3fbf2883e06e..6df4c35b48c5 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 3578f11c8e12..ef43171c0bd0 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -3779,7 +3779,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);