[patch 2/5] pcmcia: i82365: use CONFIG_PNP instead of __ISAPNP__

Dominik Brodowski linux at dominikbrodowski.de
Wed Jan 19 17:12:27 EST 2005


From: Randy Dunlap <rddunlap at osdl.org>

Use CONFIG_PNP consistenly, for allocating and freeing
resources, drop __ISAPNP__.

Signed-off-by: Randy Dunlap <rddunlap at osdl.org>
Signed-off-by: Dominik Brodowski <linux at brodo.de>
---

 drivers/pcmcia/i82365.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: 2.6.11-rc1+/drivers/pcmcia/i82365.c
===================================================================
--- 2.6.11-rc1+.orig/drivers/pcmcia/i82365.c	2005-01-16 20:06:46.000000000 +0100
+++ 2.6.11-rc1+/drivers/pcmcia/i82365.c	2005-01-18 19:08:43.000000000 +0100
@@ -1447,7 +1447,7 @@
 	i365_set(i, I365_CSCINT, 0);
 	release_region(socket[i].ioaddr, 2);
     }
-#ifdef __ISAPNP__
+#ifdef CONFIG_PNP
     if (i82365_pnpdev)
     		pnp_disable_dev(i82365_pnpdev);
 #endif



More information about the linux-pcmcia mailing list