git: 9b2c359569aa - stable/13 - linuxkpi: Add media-bus-format.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Sep 2022 15:09:53 UTC
The branch stable/13 has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=9b2c359569aa49b110006802df4797b164716737
commit 9b2c359569aa49b110006802df4797b164716737
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-06-23 07:52:37 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 15:09:02 +0000
linuxkpi: Add media-bus-format.h
Provide macros needed for drm-kmod.
Obtain from: OpenBSD (via drm-kmod)
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D35565
(cherry picked from commit 7e4f9ebeaab420b16a8041194c687e624be5b3f9)
---
sys/compat/linuxkpi/common/include/linux/media-bus-format.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/media-bus-format.h b/sys/compat/linuxkpi/common/include/linux/media-bus-format.h
new file mode 100644
index 000000000000..1e1954d45409
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/media-bus-format.h
@@ -0,0 +1,8 @@
+/* Public domain. */
+
+#ifndef _LINUXKPI_LINUX_MEDIA_BUS_FORMAT_H_
+#define _LINUXKPI_LINUX_MEDIA_BUS_FORMAT_H_
+
+#define MEDIA_BUS_FMT_FIXED 1
+
+#endif /* _LINUXKPI_LINUX_MEDIA_BUS_FORMAT_H_ */