* [PATCH] dmaengine: img-mdc: remove incorrect of_match_ptr annotation
@ 2025-02-25 16:33 Arnd Bergmann
2025-02-27 12:07 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2025-02-25 16:33 UTC (permalink / raw)
To: Vinod Koul; +Cc: Arnd Bergmann, Uwe Kleine-König, dmaengine, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
Building with W=1 shows a warning about of_ftpm_tee_ids being unused when
CONFIG_OF is disabled:
drivers/dma/img-mdc-dma.c:863:34: error: unused variable 'mdc_dma_of_match' [-Werror,-Wunused-const-variable]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/dma/img-mdc-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/img-mdc-dma.c b/drivers/dma/img-mdc-dma.c
index 4127c1bdcca7..fd55bcd060ab 100644
--- a/drivers/dma/img-mdc-dma.c
+++ b/drivers/dma/img-mdc-dma.c
@@ -1073,7 +1073,7 @@ static struct platform_driver mdc_dma_driver = {
.driver = {
.name = "img-mdc-dma",
.pm = &img_mdc_pm_ops,
- .of_match_table = of_match_ptr(mdc_dma_of_match),
+ .of_match_table = mdc_dma_of_match,
},
.probe = mdc_dma_probe,
.remove = mdc_dma_remove,
--
2.39.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dmaengine: img-mdc: remove incorrect of_match_ptr annotation
2025-02-25 16:33 [PATCH] dmaengine: img-mdc: remove incorrect of_match_ptr annotation Arnd Bergmann
@ 2025-02-27 12:07 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2025-02-27 12:07 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Arnd Bergmann, Uwe Kleine-König, dmaengine, linux-kernel
On Tue, 25 Feb 2025 17:33:12 +0100, Arnd Bergmann wrote:
> Building with W=1 shows a warning about of_ftpm_tee_ids being unused when
> CONFIG_OF is disabled:
>
> drivers/dma/img-mdc-dma.c:863:34: error: unused variable 'mdc_dma_of_match' [-Werror,-Wunused-const-variable]
>
>
Applied, thanks!
[1/1] dmaengine: img-mdc: remove incorrect of_match_ptr annotation
commit: 186fdd3d87e7b77f7537ff65f686d029cb6560d2
Best regards,
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-27 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 16:33 [PATCH] dmaengine: img-mdc: remove incorrect of_match_ptr annotation Arnd Bergmann
2025-02-27 12:07 ` Vinod Koul
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.