diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-09-10 03:37:43 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 00:36:35 +0400 |
commit | 77dc28848881926ba46e9b6bb9f64fb71d61bddc (patch) | |
tree | f16e3fec3d87466499152ecf400b23a32820bb79 /drivers/mmc/core/core.c | |
parent | 99e2e17956364653157150b8304ee3565539338e (diff) | |
download | linux-77dc28848881926ba46e9b6bb9f64fb71d61bddc.tar.xz |
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>
Diffstat (limited to 'drivers/mmc/core/core.c')
0 files changed, 0 insertions, 0 deletions