public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parport: fix __setup function arg.
@ 2004-11-15 19:42 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2004-11-15 19:42 UTC (permalink / raw)
  To: Philip.Blundell, tim, akpm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

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

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

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

-- 


[-- Attachment #2: parport_setup_const.patch --]
[-- Type: text/x-patch, Size: 570 bytes --]

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);
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-15 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-15 19:42 [PATCH] parport: fix __setup function arg Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox