diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-10 11:28:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-11 12:54:34 -0700 |
commit | c71b2e52a0fb895ad709dbe8caec3dfd2a612c04 (patch) | |
tree | 8663123971751fb14da65dbaa3c81ae795a7fa2b /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 8b46d7da7f5e869a39b81c3d2193e88b1b52fc99 (diff) |
staging: comedi: cb_pcidas64: use pci_ioremap_bar()
Use pci_ioremap_bar() to ioremap the PCI resources. That function
just takes the pci device and a bar number. It also has some
additional sanity checks to make sure the bar is actually a
memory resource.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions