aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/physmap.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-10-19 19:45:29 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-10-20 09:09:59 +0900
commit2d098a725333990d265dfe4754d1b63032c35afb (patch)
tree6541491840b5dfca69d5584cefd052617583d71d /drivers/mtd/maps/physmap.c
parent5da6bbe2f9e1db56b4a94cad2ace7d9992b1d666 (diff)
mtd: plat_nand: request memory resource before doing ioremap
Add a request_mem_region() before doing the ioremap(). Also, use the resource_size macro instead of doing the end - start + 1 calc by hand. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/physmap.c')
0 files changed, 0 insertions, 0 deletions