diff options
author | Arnd Bergmann <[email protected]> | 2024-04-08 11:28:36 +0200 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-05-06 00:55:26 +0200 |
commit | 48ace624878d01ed19df2191d5a5e902631e9dd3 (patch) | |
tree | e7a710e577feac705f27eabe7fab9cb1504f888f /tools/perf/scripts/python/intel-pt-events.py | |
parent | 47c21d2d52e0da05abdae63faa3de65cfb3afb74 (diff) |
i2c: ocores: convert to ioport_map() for IORESOURCE_IO
There is at least one machine that uses this driver but does not
have support for inb()/outb() instructions.
Convert this to using ioport_map() so it can build on architectures
that don't provide these but work correctly on machines that require
using port I/O.
Fixes: 47c21d2d52e0 ("i2c: add HAS_IOPORT dependencies")
Reported-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/lkml/CAMuHMdVUQ2WgtpYPYfO2T=itMmZ7w=geREqDtsP8Q3ODh9rxdw@mail.gmail.com/
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Peter Korsgaard <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions