From: Takashi Iwai <tiwai@suse.de>
Subject: ASoC: soc-core kABI workaround
Patch-mainline: Never, kABI workaround
References: git-fixes
The recent patch
patches.suse/ASoC-soc-core-Prevent-warning-if-no-DMI-table-is-pre.patch
added the inclusion of <linux/acpi.h>, and it broke kABIu due to the now
defined strutcs.
Wrap it with __GENKSYMS__ as usual.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
sound/soc/soc-core.c | 2 ++
1 file changed, 2 insertions(+)
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -31,7 +31,9 @@
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/dmi.h>
+#ifndef __GENKSYMS__
#include <linux/acpi.h>
+#endif
#include <sound/core.h>
#include <sound/jack.h>
#include <sound/pcm.h>