diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-04-25 17:27:14 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-04-26 22:48:12 +0200 |
commit | 873392ccd566059897aa9475be6f6dcafa5a79c8 (patch) | |
tree | 265f3ccf82ae4614afda50f7a0f5b74a9a59f88b | |
parent | 5fb2048b36457613c1fe21e620c41313d1c7b7c3 (diff) |
header: add TRACE_DEFINE_ENUM define for v4l2
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>
-rw-r--r-- | backport/backport-include/linux/tracepoint.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backport/backport-include/linux/tracepoint.h b/backport/backport-include/linux/tracepoint.h new file mode 100644 index 00000000..a695c6fc --- /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 */ |