video: sh7760fb: use resource_size()
authoraxel lin <axel.lin@gmail.com>
Sat, 29 Jan 2011 09:35:45 +0000 (09:35 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:07:35 +0000 (16:07 +0900)
commite0998eab678233fae7dff7b92db08ad0f01acf91
tree7d2fdc018b8d7ca3f073657bbbfffab9b4711328
parent56fb22f7ca11ba5f04c297b7f7aa758ac8dbb2ce
video: sh7760fb: use resource_size()

The size calculation is done incorrectly in request_mem_region because
it should include both the start and end (end - start + 1).

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh7760fb.c