[PATCH] parport: fix __setup function arg.

From: Randy.Dunlap
Date: Mon Nov 15 2004 - 15:00:29 EST


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

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
drivers/parport/parport_pc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--

diff -Naurp ./drivers/parport/parport_pc.c~parport_setup ./drivers/parport/parport_pc.c
--- ./drivers/parport/parport_pc.c~parport_setup 2004-11-15 09:18:58.423426672 -0800
+++ ./drivers/parport/parport_pc.c 2004-11-15 10:00:05.360395248 -0800
@@ -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);