commit | bdf7c9dc10912dbad3a5052ee824546535e0b4c1 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Tue Sep 18 18:50:05 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 19 09:41:45 2012 +0100 |
tree | 29e47167cfd3e18cab2c8dee6148a75e560c4a13 | |
parent | 8a3f3d37c58ea44a2441fe8be4d8cd0996fc0c3c [diff] |
staging: comedi: daqboard2000: use the pci_resource_len() Use pci_resource_len() when doing the ioremap instead of assuming the resource size. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>