lkml.org 
[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix compile for drivers/pcmcia/i82365.c
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
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.021 / U:30.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site