summaryrefslogtreecommitdiffstats
path: root/drivers/parport/probe.c
diff options
context:
space:
mode:
authorMarko Kohtala <marko.kohtala@gmail.com>2006-01-06 09:19:48 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 17:33:57 +0100
commita6767b7cc674ee39635db75ed2f6f65ed0012239 (patch)
tree95db09902a556747df45ac0a0a0c8e164fb94a80 /drivers/parport/probe.c
parent[PATCH] parport: use complete slab buffer (diff)
downloadlinux-a6767b7cc674ee39635db75ed2f6f65ed0012239.tar.xz
linux-a6767b7cc674ee39635db75ed2f6f65ed0012239.zip
[PATCH] parport: constification
Trivial "const" additions to places in parport that truly are const. Signed-off-by: Marko Kohtala <marko.kohtala@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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" },