diff options
author | Arnd Bergmann <[email protected]> | 2024-10-16 11:15:17 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-10-19 09:57:03 +0200 |
commit | e282c89beab6ed0d77c96e85c50b470091e26e7e (patch) | |
tree | 041e995a68499d0f25dca314e3b831397d932fa2 /tools/perf/scripts/python | |
parent | b8989f45d1ec0b5e1aac5da2a915f8002015eb39 (diff) |
staging: gpib: pc2: avoid calling undefined dma_free()
On architectures that don't support the ISA DMA API, this causes a build
failure. The corresponding dma_alloc() call is already in an #ifdef,
so use the same one for dma_free().
Note that nothing seems to set PC2_DMA, so parts of this driver
are likely unused. ISA DMA usually does not work on PCI or PCMCIA
devices, only on physical ISA slots.
Signed-off-by: Arnd Bergmann <[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')
0 files changed, 0 insertions, 0 deletions