Blob Blame History Raw
From: Takashi Iwai <tiwai@suse.de>
Subject: kABI workaround for can/skb.h inclusion
Patch-mainline: Never, kABI workaround
References: bsc#1051510

The patch
  patches.suse/can-can_dropped_invalid_skb-ensure-an-initialized-he.patch
adds an inclusion of linux/can/netlink.h and this broke kABI from
undefined to defined.  Work around it with the standard ifdef.

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

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

--- a/include/linux/can/dev.h
+++ b/include/linux/can/dev.h
@@ -17,7 +17,9 @@
 #include <linux/can/error.h>
 #include <linux/can/led.h>
 #include <linux/can/netlink.h>
+#ifndef __GENKSYMS__
 #include <linux/can/skb.h>
+#endif
 #include <linux/netdevice.h>
 
 /*