diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-07-28 20:09:39 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-08-17 08:13:49 +0300 |
commit | d1134d6619804644d8fac882519277654dd6cbb2 (patch) | |
tree | af040c09fb2427ecef3b6c0723fc88aa4170d556 /drivers/vlynq | |
parent | 7db7f8e0a375d364c79cbc2d14ffe8ee594f0906 (diff) | |
download | linux-d1134d6619804644d8fac882519277654dd6cbb2.tar.xz |
dmaengine: ti: omap-dma: Drop of_match_ptr to fix -Wunused-const-variable
The of_device_id is included unconditionally by of.h header and used
in the driver as well. Remove of_match_ptr to fix W=1 compile test
warning with !CONFIG_OF:
drivers/dma/ti/omap-dma.c:1892:34: warning: 'omap_dma_match' defined but not used [-Wunused-const-variable=]
1892 | static const struct of_device_id omap_dma_match[] = {
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20200728170939.28278-1-krzk@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions