diff options
author | Marko Kohtala <marko.kohtala@gmail.com> | 2006-01-06 11:19:48 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 19:33:57 +0300 |
commit | a6767b7cc674ee39635db75ed2f6f65ed0012239 (patch) | |
tree | 95db09902a556747df45ac0a0a0c8e164fb94a80 /drivers/parport/probe.c | |
parent | b44d3bdd6fcf6233b381bf5bd0893ed235f497a9 (diff) | |
download | linux-a6767b7cc674ee39635db75ed2f6f65ed0012239.tar.xz |
[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.c | 6 |
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" }, |