[PATCH] fix compile for drivers/pcmcia/i82365.c

Anthony J. Breeds-Taurima (tony@cantech.net.au)
Wed, 26 Feb 2003 13:06:42 +0800 (WST)


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/