pcmcia: Pass struct pcmcia_device to pcmcia_release_window()
[linux-2.6.git] / drivers / net / pcmcia / ibmtr_cs.c
index 0d914f3..7a985ca 100644 (file)
@@ -328,7 +328,7 @@ static void ibmtr_release(struct pcmcia_device *link)
        if (link->win) {
                struct tok_info *ti = netdev_priv(dev);
                iounmap(ti->mmio);
-               pcmcia_release_window(info->sram_win_handle);
+               pcmcia_release_window(link, info->sram_win_handle);
        }
        pcmcia_disable_device(link);
 }