[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250218185749.22144-4-madhurkumar004@gmail.com>
Date: Wed, 19 Feb 2025 00:27:49 +0530
From: Madhur Kumar <madhurkumar004@...il.com>
To: sudipm.mukherjee@...il.com,
teddy.wang@...iconmotion.com
Cc: gregkh@...uxfoundation.org,
linux-fbdev@...r.kernel.org,
linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Madhur Kumar <madhurkumar004@...il.com>
Subject: [PATCH 2/2] staging: sm750fb: Make g_fbmode truly constant
Signed-off-by: Madhur Kumar <madhurkumar004@...il.com>
---
drivers/staging/sm750fb/sm750.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index cab879ab58bd..2cce27effc46 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -33,7 +33,7 @@
static int g_hwcursor = 1;
static int g_noaccel;
static int g_nomtrr;
-static const char *g_fbmode[] = {NULL, NULL};
+static const char * const g_fbmode[] = {NULL, NULL};
static const char *g_def_fbmode = "1024x768-32@60";
static char *g_settings;
static int g_dualview;
--
2.48.1
Powered by blists - more mailing lists