提交 45dac90f 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

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: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 6e6f0a1f
...@@ -3404,8 +3404,8 @@ static int __init parport_init_mode_setup(char *str) ...@@ -3404,8 +3404,8 @@ static int __init parport_init_mode_setup(char *str)
#endif #endif
#ifdef MODULE #ifdef MODULE
static const char *irq[PARPORT_PC_MAX_PORTS]; static char *irq[PARPORT_PC_MAX_PORTS];
static const char *dma[PARPORT_PC_MAX_PORTS]; static char *dma[PARPORT_PC_MAX_PORTS];
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册