Messages in this thread | | | Date | Mon, 17 Aug 2020 10:43:59 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH] dmaengine: ti: omap-dma: Drop of_match_ptr to fix -Wunused-const-variable |
| |
On 28-07-20, 19:09, Krzysztof Kozlowski wrote: > 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[] = {
Applied, thanks
-- ~Vinod
| |