commit | 2d098a725333990d265dfe4754d1b63032c35afb | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Mon Oct 19 19:45:29 2009 -0400 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Tue Oct 20 09:09:59 2009 +0900 |
tree | 6541491840b5dfca69d5584cefd052617583d71d | |
parent | 5da6bbe2f9e1db56b4a94cad2ace7d9992b1d666 [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>