From b7295c0d581ed52963cbc2aa39e593d45331e432 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 4 Sep 2013 21:47:56 +0200 Subject: [PATCH] backports: add HDMI_INFOFRAME_SIZE Add the missing define. Signed-off-by: Hauke Mehrtens --- 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 c02787ccfbb3..41a5387b0b80 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 */ -- 2.30.2