summaryrefslogtreecommitdiff
path: root/backport
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-09-04 21:47:56 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-21 23:58:37 +0200
commitb7295c0d581ed52963cbc2aa39e593d45331e432 (patch)
tree2792ae8923836b1e162971ae7516d5a971b31919 /backport
parent9f3da1e2e63772d882b132b1518158534c3f68be (diff)
backports: add HDMI_INFOFRAME_SIZE
Add the missing define. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'backport')
-rw-r--r--backport/backport-include/linux/hdmi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backport/backport-include/linux/hdmi.h b/backport/backport-include/linux/hdmi.h
index c02787cc..41a5387b 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 */