]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Char: sx, fix io unmapping
authorJiri Slaby <jirislaby@gmail.com>
Mon, 13 Oct 2008 09:34:18 +0000 (10:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:39 +0000 (09:51 -0700)
commit1361b7d3592b006574fb3cfeb21a02d520cca315
treeeff43bb8794ed26439c7ecf11ad60eae353fb80b
parent24e6fd4cdc841176ca3713fddc9a02bd128b1191
Char: sx, fix io unmapping

board->base is increased for CF cards after mapping. Use board->base2
for unmapping the region, since it holds the original/correct address.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/sx.c