Index: git/drivers/pcmcia/pcmcia_resource.c
===================================================================
--- git.orig/drivers/pcmcia/pcmcia_resource.c	2006-04-13 00:22:24.000000000 +0100
+++ git/drivers/pcmcia/pcmcia_resource.c	2006-04-13 23:32:39.000000000 +0100
@@ -88,7 +88,6 @@
 	}
 	if ((s->features & SS_CAP_STATIC_MAP) && s->io_offset) {
 		*base = s->io_offset | (*base & 0x0fff);
-		s->io[0].res->flags = (s->io[0].res->flags & ~IORESOURCE_BITS) | (attr & IORESOURCE_BITS);
 		return 0;
 	}
 	/* Check for an already-allocated window that must conflict with

