fbdev: fix check for fb_mmap's mmio availability
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Apr 2013 05:35:20 +0000 (08:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 26 Apr 2013 05:28:56 +0000 (08:28 +0300)
commit138f296e140f79cb955caba70690076fb14e6f6d
treeac205dc33305938a0465800336c198ff399a9114
parent04f8afbec37f63fafce16e454a7848426aa36202
fbdev: fix check for fb_mmap's mmio availability

Commit fc9bbca8f650e5f738af8806317c0a041a48ae4a (vm: convert fb_mmap to
vm_iomap_memory() helper) made fbmem.c use vm_iomap_memory, but also
accidentally removed the check for mmio's availability.

Add the check back.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbmem.c