From bc627479ec1030486f5b141709621b60bd8a8f49 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 13 Sep 2015 18:17:59 +0200 Subject: 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 --- 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 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 + +#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 */ -- cgit v1.2.3