]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:07:46 +0000 (18:07 -0500)
commitc8188f6b72d2916736015caf96c539cb38d51dc3
treee656a837df4237dd29b384e722a6093ceab4d642
parent4986f350e204ac1e4ca11567aec51b431d562b91
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: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc.h