Skip to contentSkip to conversation

parport: fix __setup function arg.

PATCH New Randy.Dunlap 1 participant 1 message Nov 15, 2004 Parallel port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parport: fix __setup function arg.

fix function args warning:
drivers/parport/parport_pc.c:3317: warning: initialization from incompatible pointer type

diffstat:=

  drivers/parport/parport_pc.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)
drivers/parport/parport_pc.c renamed from drivers/parport/parport_pc.c~parport_setup +1 -1
diff -Naurp ./drivers/parport/parport_pc.c~parport_setup ./drivers/parport/parport_pc.c
@@ -3154,7 +3154,7 @@ static int __init parport_parse_dma(cons
 				     PARPORT_DMA_NONE, PARPORT_DMA_NOFIFO);
 }
 
-static int __init parport_init_mode_setup(const char *str) {
+static int __init parport_init_mode_setup(char *str) {
 
 	printk(KERN_DEBUG "parport_pc.c: Specified parameter parport_init_mode=%s\n", str);