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)
commite3396b263c6a8f086a99f1d524272ff409d66de0
tree97830bac8a93f34162f9e30f7c2dda4bc128c299
parentfe3ebaad3229c5e842e8b24cf2a24d7049a6481c
pxa168fb: fix incorrect resource calculation

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