[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200817051359.GE2639@vkoul-mobl>
Date: Mon, 17 Aug 2020 10:43:59 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Dan Williams <dan.j.williams@...el.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org
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
Powered by blists - more mailing lists