]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vm: convert fb_mmap to vm_iomap_memory() helper
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2013 16:57:35 +0000 (09:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2013 16:57:35 +0000 (09:57 -0700)
commitfc9bbca8f650e5f738af8806317c0a041a48ae4a
tree400152e6c1f9fbfc7a027855f81e952b6eff5d2d
parent8558e4a26b00225efeb085725bc319f91201b239
vm: convert fb_mmap to vm_iomap_memory() helper

This is my example conversion of a few existing mmap users.  The
fb_mmap() case is a good example because it is a bit more complicated
than some: fb_mmap() mmaps one of two different memory areas depending
on the page offset of the mmap (but happily there is never any mixing of
the two, so the helper function still works).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmem.c