diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-12-11 21:24:33 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-11 21:24:33 -0700 |
commit | 2e032b62c4c8560d6416ad3cc925cfc2a5eafb07 (patch) | |
tree | 8700a84d68eebf61def8dde6cf4bd5d76a13c5fb /drivers/dma/ppc4xx | |
parent | a88f6667078412e5eff37ead68a043ee0ec9f1da (diff) | |
download | op-kernel-dev-2e032b62c4c8560d6416ad3cc925cfc2a5eafb07.zip op-kernel-dev-2e032b62c4c8560d6416ad3cc925cfc2a5eafb07.tar.gz |
iop-adma.c: use resource_size()
The size of the requested and ioremaped memory is off by 1.
Use resource_size() to get the correct value.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ppc4xx')
0 files changed, 0 insertions, 0 deletions