diff options
Diffstat (limited to 'drivers/mtd/maps/pcmciamtd.c')
-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 | } |