summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-07-20 10:33:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-07 17:14:54 -0700
commita26f4dd0ebd18f061366ca0231fdb74210e16140 (patch)
treecf6dee7a71b855c9d8af2b83b38af7e26c3175a8 /tools/perf/scripts/python
parent2724f01856fafbe9f76d8e74a564b576b6f02d72 (diff)
staging: comedi: rtd520: ioremap'ed addresses are resource_size_t
As mentioned by Ian Abbott, the pci address passed to ioremap should be a resource_size_t not an unsigned long. Use a local variable of that type to hold the pci_resource_start() that is passed to ioremp(). Set the dev->iobase to a dummy non-zero value so that the "detach" can use it as a flag to know that comedi_pci_disable() needs to be called. Reported-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions