ALSA: hda - Fix wrong <acpi/acpi.h> inclusion in Thinkpad ACPI users.
authorLv Zheng <lv.zheng@intel.com>
Fri, 20 Dec 2013 08:30:42 +0000 (16:30 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2013 09:14:05 +0000 (10:14 +0100)
CONFIG_ACPI dependent code should include <linux/acpi.h> instead of
directly including <acpi/acpi.h>.  This patch cleans up such wrong
inclusions for Thinkpad ACPI users.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c

index 3fbf2883e06e855e7a79213b0414e3049b539f28..6df4c35b48c54b8e548c61823d4e66c2a1b3c929 100644 (file)
@@ -3243,7 +3243,7 @@ enum {
 #if IS_ENABLED(CONFIG_THINKPAD_ACPI)
 
 #include <linux/thinkpad_acpi.h>
-#include <acpi/acpi.h>
+#include <linux/acpi.h>
 
 static int (*led_set_func)(int, bool);
 
index 3578f11c8e12f68f140f8528f351bc15d22ff51e..ef43171c0bd05c837fc98f94ea78f682e1eca65f 100644 (file)
@@ -3779,7 +3779,7 @@ static void alc290_fixup_mono_speakers(struct hda_codec *codec,
 #if IS_ENABLED(CONFIG_THINKPAD_ACPI)
 
 #include <linux/thinkpad_acpi.h>
-#include <acpi/acpi.h>
+#include <linux/acpi.h>
 
 static int (*led_set_func)(int, bool);