summaryrefslogtreecommitdiff
path: root/drivers/parport/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parport/probe.c')
-rw-r--r--drivers/parport/probe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c
index 5c29e8222211..b62aee8de3cb 100644
--- a/drivers/parport/probe.c
+++ b/drivers/parport/probe.c
@@ -11,9 +11,9 @@
#include <linux/string.h>
#include <asm/uaccess.h>
-static struct {
- char *token;
- char *descr;
+static const struct {
+ const char *token;
+ const char *descr;
} classes[] = {
{ "", "Legacy device" },
{ "PRINTER", "Printer" },