summary refs log tree commit diff
path: root/drivers/dma/lpc18xx-dmamux.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-11-20 17:23:03 +0100
committerVinod Koul <vkoul@kernel.org>2020-11-24 23:02:20 +0530
commit5d051f37f49d5bf04dca15fadea3a90a6a6f0f15 (patch)
tree66482d764f4d3e41e670fce7b361fbd4091da403 /drivers/dma/lpc18xx-dmamux.c
parent25d39b590dac0b8230cc3663c9f8f1a3a21831fd (diff)
downloadlinux-5d051f37f49d5bf04dca15fadea3a90a6a6f0f15.tar.gz
dmaengine: ti: drop of_match_ptr and mark of_device_id table as maybe unused
The driver can match only via the DT table so the main table should be
always used and the of_match_ptr does not have any sense (this also
allows ACPI matching via PRP0001, even though it is not relevant here).

The secondary match of_device_id tables (passed to of_match_node) should
be marked as maybe unused to fix compile testing (!CONFIG_OF on x86_64)
warnings:

    drivers/dma/ti/dma-crossbar.c:125:34: warning:
        ‘ti_am335x_master_match’ defined but not used [-Wunused-const-variable=]
    drivers/dma/ti/dma-crossbar.c:22:34: warning:
        ‘ti_dma_xbar_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201120162303.482126-6-krzk@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/lpc18xx-dmamux.c')
0 files changed, 0 insertions, 0 deletions