From 223293205a7265c8b02882461ba8996650048ade Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 06:33:33 +0000
Subject: [PATCH] audio ok
---
kernel/arch/x86/boot/video.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/kernel/arch/x86/boot/video.h b/kernel/arch/x86/boot/video.h
index b54e032..04bde0b 100644
--- a/kernel/arch/x86/boot/video.h
+++ b/kernel/arch/x86/boot/video.h
@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/* -*- linux-c -*- ------------------------------------------------------- *
*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright 2007 rPath, Inc. - All Rights Reserved
- *
- * This file is part of the Linux kernel, and is made available under
- * the terms of the GNU General Public License version 2.
*
* ----------------------------------------------------------------------- */
@@ -80,7 +78,7 @@
u16 xmode_n; /* Size of unprobed mode range */
};
-#define __videocard struct card_info __attribute__((used,section(".videocards")))
+#define __videocard struct card_info __section(".videocards") __attribute__((used))
extern struct card_info video_cards[], video_cards_end[];
int mode_defined(u16 mode); /* video.c */
--
Gitblit v1.6.2