[PATCH 03/10] header: remove parameter from mei_cl_register_event_cb()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 backport/backport-include/linux/mei_cl_bus.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 backport/backport-include/linux/mei_cl_bus.h

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 0000000..d7f0dfd
--- /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 */
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux