[alsa-devel] [PATCH] ASoC: rt1305: fix ACPI_PTR compile error

shumingf at realtek.com shumingf at realtek.com
Tue Apr 17 04:08:02 CEST 2018


From: Shuming Fan <shumingf at realtek.com>

This patch added <linux/acpi.h> header

Signed-off-by: Shuming Fan <shumingf at realtek.com>
---
 sound/soc/codecs/rt1305.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/rt1305.c b/sound/soc/codecs/rt1305.c
index 90baab9..8404306 100644
--- a/sound/soc/codecs/rt1305.c
+++ b/sound/soc/codecs/rt1305.c
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/pm.h>
+#include <linux/acpi.h>
 #include <linux/gpio.h>
 #include <linux/i2c.h>
 #include <linux/regmap.h>
-- 
2.7.4



More information about the Alsa-devel mailing list