aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2023-09-13 18:07:06 +0100
committerGreg Kroah-Hartman <[email protected]>2023-10-05 13:34:04 +0200
commit7187a0939a1773e6a2663a02a6c456047a5e6289 (patch)
tree5344405eba33010fc6cd5da702898e3fe1191922 /tools/perf/scripts/python/mem-phys-addr.py
parent5c57b1ccecc72738d4b9be2dfcdfb9001be76bd7 (diff)
comedi: comedi_8255: Conditionally remove I/O port support
In a future patch, the port I/O functions (`inb()`, `outb()`, and friends will only be declared in the `HAS_IOPORT` configuration option is enabled. The comedi_8255 module supports both port I/O and memory-mapped I/O. Conditionally compile the parts of the module that use port I/O if and only if the `CONFIG_HAS_IOPORT` macro is defined so that it can still be built if the port I/O functions have not been declared. If the `CONFIG_HAS_IOPORT` macro is undefined, replace the GPL-exported `subdev_8255_io_init()` function with a dummy static inline version that just returns `-ENXIO`. Cc: Arnd Bergmann <[email protected]> Cc: Niklas Schnelle <[email protected]> Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions