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