Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45dac90f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

drivers/parport/parport_pc.c: fix warnings



drivers/parport/parport_pc.c: In function '__check_irq':
drivers/parport/parport_pc.c:3415: warning: return from incompatible pointer type
drivers/parport/parport_pc.c: In function '__check_dma':
drivers/parport/parport_pc.c:3417: warning: return from incompatible pointer type

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6e6f0a1f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3404,8 +3404,8 @@ static int __init parport_init_mode_setup(char *str)
#endif

#ifdef MODULE
static const char *irq[PARPORT_PC_MAX_PORTS];
static const char *dma[PARPORT_PC_MAX_PORTS];
static char *irq[PARPORT_PC_MAX_PORTS];
static char *dma[PARPORT_PC_MAX_PORTS];

MODULE_PARM_DESC(io, "Base I/O address (SPP regs)");
module_param_array(io, int, NULL, 0);