pxa168fb: fix incorrect resource calculation
authorDan Carpenter <error27@gmail.com>
Mon, 22 Mar 2010 12:10:35 +0000 (15:10 +0300)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 22 Mar 2010 12:30:17 +0000 (20:30 +0800)
The size calculation is not correct.  It should be end - start + 1.
Use resource_size() to caculate it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/video/pxa168fb.c

Simple merge