diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-22 15:10:35 +0300 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-22 20:30:17 +0800 |
commit | e3396b263c6a8f086a99f1d524272ff409d66de0 (patch) | |
tree | 97830bac8a93f34162f9e30f7c2dda4bc128c299 /drivers/video/amifb.c | |
parent | fe3ebaad3229c5e842e8b24cf2a24d7049a6481c (diff) |
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>
Diffstat (limited to 'drivers/video/amifb.c')
0 files changed, 0 insertions, 0 deletions