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/mtd | |
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/mtd')
-rw-r--r-- | drivers/mtd/maps/pcmciamtd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c index b698dbaaf9e6..16d9985aadcd 100644 --- a/drivers/mtd/maps/pcmciamtd.c +++ b/drivers/mtd/maps/pcmciamtd.c | |||
@@ -344,7 +344,7 @@ static void pcmciamtd_release(struct pcmcia_device *link) | |||
344 | iounmap(dev->win_base); | 344 | iounmap(dev->win_base); |
345 | dev->win_base = NULL; | 345 | dev->win_base = NULL; |
346 | } | 346 | } |
347 | pcmcia_release_window(link->win); | 347 | pcmcia_release_window(link, link->win); |
348 | } | 348 | } |
349 | pcmcia_disable_device(link); | 349 | pcmcia_disable_device(link); |
350 | } | 350 | } |