ANDROID: GKI: hack to handle genksyms change in sound/soc/soc-core.c
Commit ed47acc0c8
("ASoC: soc-core: Prevent warning if no DMI table is
present") changed soc-core.c by adding #include <linux/acpi.h>. That
caused the visibility of other symbols to suddenly change and so
genksyms changed for some soc-core.c functions when really nothing
changed at all.
Work around this "fun" by providing a __GENKSYMS__ check to include the
acpi.h file or not. Ugh.
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4b3c5634de2336af6bbf99f25fd9250a365991bf
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user