Commit b0f3f5de authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Linus Torvalds

[PATCH] parport_pc warning fixes

Stomp a couple of warnings which several people have tried to fix.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 63c6e54a
...@@ -3155,8 +3155,8 @@ static int __init parport_parse_dma(const char *dmastr, int *val) ...@@ -3155,8 +3155,8 @@ static int __init parport_parse_dma(const char *dmastr, int *val)
} }
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
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); printk(KERN_DEBUG "parport_pc.c: Specified parameter parport_init_mode=%s\n", str);
if (!strcmp (str, "spp")) if (!strcmp (str, "spp"))
...@@ -3176,7 +3176,7 @@ static int __init parport_init_mode_setup(const char *str) { ...@@ -3176,7 +3176,7 @@ static int __init parport_init_mode_setup(const char *str) {
#ifdef MODULE #ifdef MODULE
static const char *irq[PARPORT_PC_MAX_PORTS]; static const char *irq[PARPORT_PC_MAX_PORTS];
static const char *dma[PARPORT_PC_MAX_PORTS]; static const char *dma[PARPORT_PC_MAX_PORTS];
static const char *init_mode; static char *init_mode;
MODULE_PARM_DESC(io, "Base I/O address (SPP regs)"); MODULE_PARM_DESC(io, "Base I/O address (SPP regs)");
module_param_array(io, int, NULL, 0); module_param_array(io, int, NULL, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment