mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix compile for drivers/pcmcia/i82365.c
@ 2003-02-26  5:06 Anthony J. Breeds-Taurima
  2003-02-26  5:48 ` [PATCH] fix for "Too many arguments for pnp_activate_dev()" (Re: [PATCH] fix compile for drivers/pcmcia/i82365.c) YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony J. Breeds-Taurima @ 2003-02-26  5:06 UTC (permalink / raw)
  To: lkml

Hello All,
	The 2.5.63 kernel contains changes to pnp.h that mean the template arg
is nolonger there.  The object compiles with this patch.

If this patch is correct I'm happy to create patches that will fix the same
issue in the rest of the drivers tree.
	
--------------------------------------------------------------------------------
diff -X dontdiff -purN linux-2.5.63.clean/drivers/pcmcia/i82365.c linux-2.5.63.i82365/drivers/pcmcia/i82365.c
--- linux-2.5.63.clean/drivers/pcmcia/i82365.c	2003-02-27 10:55:04.000000000 +0800
+++ linux-2.5.63.i82365/drivers/pcmcia/i82365.c	2003-02-27 12:31:08.000000000 +0800
@@ -846,7 +846,7 @@ static void __init isa_probe(void)
 	
 	    printk("PNP ");
 	    
-	    if (pnp_activate_dev(dev, NULL) < 0) {
+	    if (pnp_activate_dev(dev) < 0) {
 		printk("activate failed\n");
 		pnp_device_detach(dev);
 		break;
--------------------------------------------------------------------------------

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the 
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-26  5:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-26  5:06 [PATCH] fix compile for drivers/pcmcia/i82365.c Anthony J. Breeds-Taurima
2003-02-26  5:48 ` [PATCH] fix for "Too many arguments for pnp_activate_dev()" (Re: [PATCH] fix compile for drivers/pcmcia/i82365.c) YOSHIFUJI Hideaki / 吉藤英明
2003-02-26  5:56   ` [PATCH] fix for "Too many arguments for pnp_activate_dev()" YOSHIFUJI Hideaki / 吉藤英明

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

all inboxes | Powered by JetHome®