Home Home > GIT Browse > SLE12-SP3-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-02-20 15:31:23 +0100
committerJiri Slaby <jslaby@suse.cz>2019-02-20 15:59:14 +0100
commit5d91f2fb14c3bdfbf11a0a7a5f7cf683c4a4947d (patch)
tree39a8d45f0d4bd722f4426ff6752619423750d2cd
parent3a4281e170a443691f2be461623921265c22e097 (diff)
kABI: protect linux/kfifo.h include in hid-debug (kabi).
-rw-r--r--drivers/hid/hid-debug.c2
-rw-r--r--include/linux/hid-debug.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c
index d7179dd3c9ef..a03df01bb8d6 100644
--- a/drivers/hid/hid-debug.c
+++ b/drivers/hid/hid-debug.c
@@ -30,7 +30,9 @@
#include <linux/debugfs.h>
#include <linux/seq_file.h>
+#ifndef __GENKSYMS__
#include <linux/kfifo.h>
+#endif
#include <linux/sched.h>
#include <linux/export.h>
#include <linux/slab.h>
diff --git a/include/linux/hid-debug.h b/include/linux/hid-debug.h
index 2d6100edf204..5f74448f1b61 100644
--- a/include/linux/hid-debug.h
+++ b/include/linux/hid-debug.h
@@ -24,7 +24,9 @@
#ifdef CONFIG_DEBUG_FS
+#ifndef __GENKSYMS__
#include <linux/kfifo.h>
+#endif
#define HID_DEBUG_BUFSIZE 512
#define HID_DEBUG_FIFOSIZE 512