mmc: fix the use of kunmap_atomic() in tmio_mmc.h
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 9 Sep 2010 23:37:43 +0000 (16:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:17:53 +0000 (13:17 -0700)
commit61e3fe7a310a1b99503535987ff2cc926348480e
treee1ab132369aa3447aec79e00ba72ab9a24505e24
parent389e860f1bf15e255ec9ab52e2ede28a4d2a9b5a
mmc: fix the use of kunmap_atomic() in tmio_mmc.h

commit 5600efb1bc2745d93ae0bc08130117a84f2b9d69 upstream.

kunmap_atomic() takes the cookie, returned by the kmap_atomic() as its
argument and not the page address, used as an argument to kmap_atomic().
This patch fixes the compile error:

In file included from drivers/mmc/host/tmio_mmc.c:37:
drivers/mmc/host/tmio_mmc.h: In function 'tmio_mmc_kunmap_atomic':
drivers/mmc/host/tmio_mmc.h:192: error: negative width in bit-field '<anonymous>'

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Tested-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc.h