aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-06-23 07:52:37 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-06-29 07:55:00 +0000
commit7e4f9ebeaab420b16a8041194c687e624be5b3f9 (patch)
tree576df6139a82bc26c633d311224db3d6ae06d4c1
parent8730ba418e050f622c32766562366729b4d775ad (diff)
downloadsrc-7e4f9ebeaab420b16a8041194c687e624be5b3f9.tar.gz
src-7e4f9ebeaab420b16a8041194c687e624be5b3f9.zip
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
-rw-r--r--sys/compat/linuxkpi/common/include/linux/media-bus-format.h8
1 files changed, 8 insertions, 0 deletions
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_ */