From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值
---
kernel/drivers/video/fbdev/matrox/matroxfb_crtc2.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/video/fbdev/matrox/matroxfb_crtc2.c b/kernel/drivers/video/fbdev/matrox/matroxfb_crtc2.c
index f64e1d5..7655afa 100644
--- a/kernel/drivers/video/fbdev/matrox/matroxfb_crtc2.c
+++ b/kernel/drivers/video/fbdev/matrox/matroxfb_crtc2.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
*
* Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200, G400 and G450.
@@ -562,7 +563,7 @@
#undef m2info
}
-static struct fb_ops matroxfb_dh_ops = {
+static const struct fb_ops matroxfb_dh_ops = {
.owner = THIS_MODULE,
.fb_open = matroxfb_dh_open,
.fb_release = matroxfb_dh_release,
--
Gitblit v1.6.2