diff options
Diffstat (limited to 'drivers/pcmcia/pcmcia_resource.c')
-rw-r--r-- | drivers/pcmcia/pcmcia_resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c index 9ed3d4a9b99c..c01dc6bf1526 100644 --- a/drivers/pcmcia/pcmcia_resource.c +++ b/drivers/pcmcia/pcmcia_resource.c | |||
@@ -89,6 +89,7 @@ static int alloc_io_space(struct pcmcia_socket *s, u_int attr, ioaddr_t *base, | |||
89 | } | 89 | } |
90 | if ((s->features & SS_CAP_STATIC_MAP) && s->io_offset) { | 90 | if ((s->features & SS_CAP_STATIC_MAP) && s->io_offset) { |
91 | *base = s->io_offset | (*base & 0x0fff); | 91 | *base = s->io_offset | (*base & 0x0fff); |
92 | s->io[0].Attributes = attr; | ||
92 | return 0; | 93 | return 0; |
93 | } | 94 | } |
94 | /* Check for an already-allocated window that must conflict with | 95 | /* Check for an already-allocated window that must conflict with |