video: hpfb: use resource_size()
authoraxel lin <axel.lin@gmail.com>
Sat, 29 Jan 2011 09:33:48 +0000 (09:33 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:07:32 +0000 (16:07 +0900)
commit56fb22f7ca11ba5f04c297b7f7aa758ac8dbb2ce
tree8b906f27a1b762a3fbe92fd19fdc67f973f91e5e
parent7fe029df4245b7765efeebbcfd1b3dfda1432a8e
video: hpfb: use resource_size()

The size calculation is done incorrectly here 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/hpfb.c