]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cm40x0_cs.c: fix debug macros
authorPascal Terjan <pterjan@mandriva.com>
Thu, 15 Nov 2007 00:58:39 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:37 +0000 (18:45 -0800)
commitddd73611b7bddbc0a9079f27a1471f635100aaab
treef3dc5c9a0efaeb59f25c9900401e37a375181b79
parent6fc48af82cef55546d640778698943b6227b7fb0
cm40x0_cs.c: fix debug macros

When PCMCIA_DEBUG is set, cm40x0_cs.c and cm4000_cs.c don't build because the
definition of reader_to_dev uses a non-existent handle field of the struct
pcmcia_device in the call to handle_to_dev.  As handle_to_dev works on struct
pcmcia_device, the fix is quite trivial.

Signed-off-by: Pascal Terjan <pterjan@mandriva.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>
drivers/char/pcmcia/cm4000_cs.c
drivers/char/pcmcia/cm4040_cs.c