Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2025 16:03:16 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien?= =?utf-8?Q?P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2da778e62e59 - main - linuxkpi: Include <linux/{types,io}.h> from <video/vga.h>
Message-ID:  <202501311603.50VG3GY0038653@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501311603.50VG3GY0038653>