Make the const because it shouldn't be modified.
Signed-off-by: Benjamin Stürz <[email protected]>
---
drivers/net/wireless/ray_cs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 3df795dc3d9f..07f36aaefbde 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -2528,7 +2528,7 @@ static void clear_interrupt(ray_dev_t *local)
#ifdef CONFIG_PROC_FS
#define MAXDATA (PAGE_SIZE - 80)
-static const char *card_status[] = {
+static const char * const card_status[] = {
[CARD_INSERTED] = "Card inserted - uninitialized",
[CARD_AWAITING_PARAM] = "Card not downloaded",
[CARD_DL_PARAM] = "Waiting for download parameters",
--
2.35.1