aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ray_cs.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2006-12-13 05:46:38 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2009-11-28 12:01:26 -0500
commitf5560da549ea2e32dd41e36548c0e7dee3d4aabb (patch)
tree604c41db48ba2e497857ceb2137099d2f0d96d3b /drivers/net/wireless/ray_cs.c
parent78a14e273d93dfbea9673f9b10398c538096302d (diff)
pcmcia: Pass struct pcmcia_device to pcmcia_release_window()
No logic changes, just pass struct pcmcia_device to pcmcia_release_window(). [linux@dominikbrodowski.net: update to 2.6.31] CC: netdev@vger.kernel.org CC: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r--drivers/net/wireless/ray_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 28db7914a5d1..ed328750de45 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -820,10 +820,10 @@ static void ray_release(struct pcmcia_device *link)
820 iounmap(local->rmem); 820 iounmap(local->rmem);
821 iounmap(local->amem); 821 iounmap(local->amem);
822 /* Do bother checking to see if these succeed or not */ 822 /* Do bother checking to see if these succeed or not */
823 i = pcmcia_release_window(local->amem_handle); 823 i = pcmcia_release_window(link, local->amem_handle);
824 if (i != 0) 824 if (i != 0)
825 dev_dbg(&link->dev, "ReleaseWindow(local->amem) ret = %x\n", i); 825 dev_dbg(&link->dev, "ReleaseWindow(local->amem) ret = %x\n", i);
826 i = pcmcia_release_window(local->rmem_handle); 826 i = pcmcia_release_window(link, local->rmem_handle);
827 if (i != 0) 827 if (i != 0)
828 dev_dbg(&link->dev, "ReleaseWindow(local->rmem) ret = %x\n", i); 828 dev_dbg(&link->dev, "ReleaseWindow(local->rmem) ret = %x\n", i);
829 pcmcia_disable_device(link); 829 pcmcia_disable_device(link);