From: Ben Dooks Date: Wed, 16 Dec 2009 00:46:33 +0000 (-0800) Subject: sm501: fix missing uses of resource_size() X-Git-Tag: v2.6.33-rc1~71^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d60f6c2ba86243a3bbc0c70508f71f84c5308f8e;p=pandora-kernel.git 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 Signed-off-by: Simtec Linux Team Cc: Vincent Sanders Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed