git: 7e4f9ebeaab4 - main - linuxkpi: Add media-bus-format.h

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 29 Jun 2022 07:55:53 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=7e4f9ebeaab420b16a8041194c687e624be5b3f9

commit 7e4f9ebeaab420b16a8041194c687e624be5b3f9
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-06-23 07:52:37 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-06-29 07:55:00 +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
---
 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_ */