diff options
author | Magnus Damm <damm@opensource.se> | 2006-12-13 05:46:38 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:01:26 -0500 |
commit | f5560da549ea2e32dd41e36548c0e7dee3d4aabb (patch) | |
tree | 604c41db48ba2e497857ceb2137099d2f0d96d3b /drivers/net/pcmcia/ibmtr_cs.c | |
parent | 78a14e273d93dfbea9673f9b10398c538096302d (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/pcmcia/ibmtr_cs.c')
-rw-r--r-- | drivers/net/pcmcia/ibmtr_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index 0d914f3b2941..7a985ca079d7 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -328,7 +328,7 @@ static void ibmtr_release(struct pcmcia_device *link) | |||
328 | if (link->win) { | 328 | if (link->win) { |
329 | struct tok_info *ti = netdev_priv(dev); | 329 | struct tok_info *ti = netdev_priv(dev); |
330 | iounmap(ti->mmio); | 330 | iounmap(ti->mmio); |
331 | pcmcia_release_window(info->sram_win_handle); | 331 | pcmcia_release_window(link, info->sram_win_handle); |
332 | } | 332 | } |
333 | pcmcia_disable_device(link); | 333 | pcmcia_disable_device(link); |
334 | } | 334 | } |