Add the missing define. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/hdmi.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backport/backport-include/linux/hdmi.h b/backport/backport-include/linux/hdmi.h index c02787c..41a5387 100644 --- a/backport/backport-include/linux/hdmi.h +++ b/backport/backport-include/linux/hdmi.h @@ -28,4 +28,9 @@ hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, size_t size); #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)*/ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0) */ +#ifndef HDMI_INFOFRAME_SIZE +#define HDMI_INFOFRAME_SIZE(type) \ + (HDMI_INFOFRAME_HEADER_SIZE + HDMI_ ## type ## _INFOFRAME_SIZE) +#endif + #endif /* __BACKPORT_LINUX_HDMI_H */ -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html