Files
linux/drivers
Ben Dooks d60f6c2ba8 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 <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Cc: Vincent Sanders <vince@simtec.co.uk>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-16 07:20:02 -08:00
..
…
2009-12-11 11:55:21 -08:00
…
2009-12-15 08:53:25 -08:00
…
2009-12-15 08:53:34 -08:00
2009-12-11 11:55:21 -08:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:25 -08:00
…
…
2009-12-15 09:33:36 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:25 -08:00
…
…
…
…
…
2009-12-15 08:53:25 -08:00
…
2009-12-15 08:53:25 -08:00
…
…
…