summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-09-13 18:17:59 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2015-09-13 23:51:52 +0200
commitbc627479ec1030486f5b141709621b60bd8a8f49 (patch)
tree701aa0d703485fb13220e9e611f7535d050f222e
parent2fdda07a83179d14f41a15bf88ae396dae9d218d (diff)
header: remove parameter from mei_cl_register_event_cb()
mei_cl_register_event_cb() got a new parameter in bb2ef9c39d, currently it is used in the same way as before so just ignoring it should be save. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--backport/backport-include/linux/mei_cl_bus.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/backport/backport-include/linux/mei_cl_bus.h b/backport/backport-include/linux/mei_cl_bus.h
new file mode 100644
index 00000000..d7f0dfd5
--- /dev/null
+++ b/backport/backport-include/linux/mei_cl_bus.h
@@ -0,0 +1,11 @@
+#ifndef __BACKPORT_LINUX_MEI_CL_BUS_H
+#define __BACKPORT_LINUX_MEI_CL_BUS_H
+#include_next <linux/mei_cl_bus.h>
+
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0))
+#define mei_cl_register_event_cb(device, event_mask, read_cb, context) \
+ mei_cl_register_event_cb(device, read_cb, context)
+#endif
+
+
+#endif /* __BACKPORT_LINUX_MEI_CL_BUS_H */