From: Marko Kohtala Add missing "struct" keyword preventing compilation with DEBUG_PARPORT defined. Also add some "const". Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton --- include/linux/parport_pc.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/parport_pc.h~parport-debug_parport-build-fix include/linux/parport_pc.h --- devel/include/linux/parport_pc.h~parport-debug_parport-build-fix 2005-12-10 00:20:14.000000000 -0800 +++ devel-akpm/include/linux/parport_pc.h 2005-12-10 00:21:14.000000000 -0800 @@ -85,7 +85,7 @@ extern __inline__ void dump_parport_stat unsigned char ecr = inb (ECONTROL (p)); unsigned char dcr = inb (CONTROL (p)); unsigned char dsr = inb (STATUS (p)); - static char *ecr_modes[] = {"SPP", "PS2", "PPFIFO", "ECP", "xXx", "yYy", "TST", "CFG"}; + static const char *const ecr_modes[] = {"SPP", "PS2", "PPFIFO", "ECP", "xXx", "yYy", "TST", "CFG"}; const struct parport_pc_private *priv = p->physport->private_data; int i; _