diff options
| author | Ben Dooks <[email protected]> | 2009-12-15 16:46:33 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-16 07:20:02 -0800 |
| commit | d60f6c2ba86243a3bbc0c70508f71f84c5308f8e (patch) | |
| tree | 9e700002d87305fe96c80d7caafa9dd4bf46cdcb /include/linux/debugobjects.h | |
| parent | b689a9e8362ed909045f99517b735c7c60835f7c (diff) | |
sm501: fix missing uses of resource_size()
There are several places in the SM501 fb driver that could do with using
resource_size() to calculate the size of a resource.
Also fix a bug where request_mem_region() is being passed one too few
bytes when requesting the register memory region, which was causing the
following in /proc/iomem:
13e80000-13e8ffff : sm501-fb.0
13e80000-13e8fffe : sm501-fb
fixed, this reads:
13e80000-13e8ffff : sm501-fb.0
13e80000-13e8ffff : sm501-fb
Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Simtec Linux Team <[email protected]>
Cc: Vincent Sanders <[email protected]>
Cc: Krzysztof Helt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions