git: 2da778e62e59 - main - linuxkpi: Include <linux/{types,io}.h> from <video/vga.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jan 2025 16:03:16 UTC
The branch main has been updated by dumbbell:
URL: https://cgit.FreeBSD.org/src/commit/?id=2da778e62e591fc8841a5395ce0b601b70144074
commit 2da778e62e591fc8841a5395ce0b601b70144074
Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2024-12-27 00:18:03 +0000
Commit: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2025-01-31 16:00:48 +0000
linuxkpi: Include <linux/{types,io}.h> from <video/vga.h>
[Why]
Some files in the i915 DRM driver in Linux 6.7 depend on these implicit
inclusions.
Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48751
---
sys/compat/linuxkpi/common/include/video/vga.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/video/vga.h b/sys/compat/linuxkpi/common/include/video/vga.h
index e327246cc457..a5012d9e2f3f 100644
--- a/sys/compat/linuxkpi/common/include/video/vga.h
+++ b/sys/compat/linuxkpi/common/include/video/vga.h
@@ -3,6 +3,9 @@
#ifndef _LINUXKPI_VIDEO_VGA_H
#define _LINUXKPI_VIDEO_VGA_H
+#include <linux/types.h>
+#include <linux/io.h>
+
#define VGA_MIS_W 0x3c2
#define VGA_SEQ_I 0x3c4
#define VGA_SEQ_D 0x3c5