[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-backports
Subject: [PATCH 2/7] header: add TRACE_DEFINE_ENUM define for v4l2
From: Hauke Mehrtens <hauke () hauke-m ! de>
Date: 2015-04-26 21:04:19
Message-ID: 1430082264-11808-3-git-send-email-hauke () hauke-m ! de
[Download RAW message or body]
v4l2 makes use of TRACE_DEFINE_ENUM. This was introduced in 0c564a538
and is not supported in older kernel versions, implement it empty.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
backport/backport-include/linux/tracepoint.h | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 backport/backport-include/linux/tracepoint.h
diff --git a/backport/backport-include/linux/tracepoint.h b/backport/backport-include/linux/tracepoint.h
new file mode 100644
index 0000000..a695c6f
--- /dev/null
+++ b/backport/backport-include/linux/tracepoint.h
@@ -0,0 +1,10 @@
+#include_next <linux/tracepoint.h>
+
+#ifndef __BACKPORT_LINUX_TRACEPOINT_H
+#define __BACKPORT_LINUX_TRACEPOINT_H
+
+#ifndef TRACE_DEFINE_ENUM
+#define TRACE_DEFINE_ENUM(a)
+#endif
+
+#endif /* __BACKPORT_LINUX_TRACEPOINT_H */
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic