Blob Blame History Raw
From: Takashi Iwai <tiwai@suse.de>
Subject: kABI workaround for spi changes
Patch-mainline: Never, kABI workaround
References: bsc#1203699

A simple wrap of the new inclusion in linux/spi/spi.h for avoiding
kABI breakge.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 include/linux/spi/spi.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -17,7 +17,9 @@
 #include <linux/ptp_clock_kernel.h>
 
 #include <uapi/linux/spi/spi.h>
+#ifndef __GENKSYMS__
 #include <linux/acpi.h>
+#endif
 
 struct dma_chan;
 struct software_node;