[PATCH 03/11] backports: add HDMI_INFOFRAME_SIZE

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

 



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




[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