diff options
author | Daniel Ritz <daniel.ritz-ml@swissonline.ch> | 2007-08-10 22:00:58 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-12 00:47:40 +0200 |
commit | 925796e0ed6fe529770ba71454c58c8d4d8a5ac4 (patch) | |
tree | 9646e19a5c072a0dc2e4fabf59f28b5888317ac4 /drivers/char/pcmcia/cm4040_cs.c | |
parent | Hibernation: do not try to mark invalid PFNs as nosave (diff) | |
download | linux-925796e0ed6fe529770ba71454c58c8d4d8a5ac4.tar.xz linux-925796e0ed6fe529770ba71454c58c8d4d8a5ac4.zip |
drivers/char/pcmcia/cm40x0_cs.c: fix release function call
cm4000_cs.c and cm4040_cs.c call the internal release function with
an argument of wrong type. this fixes bug #8485
Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Bill McConnaughey <mcconnau@biochem.wustl.edu>
Cc: Natalie Protasevich <protasnb@gmail.com>
Cc: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/pcmcia/cm4040_cs.c')
-rw-r--r-- | drivers/char/pcmcia/cm4040_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c index af88181a17f4..b24a3e7bbb9f 100644 --- a/drivers/char/pcmcia/cm4040_cs.c +++ b/drivers/char/pcmcia/cm4040_cs.c @@ -599,7 +599,7 @@ cs_release: static void reader_release(struct pcmcia_device *link) { - cm4040_reader_release(link->priv); + cm4040_reader_release(link); pcmcia_disable_device(link); } |