Skip to content

Commit 186fdd3

Browse files
arndbvinodkoul
authored andcommitted
dmaengine: img-mdc: remove incorrect of_match_ptr annotation
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> Link: https://lore.kernel.org/r/20250225163315.4168033-1-arnd@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 2c17e9e commit 186fdd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/img-mdc-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ static struct platform_driver mdc_dma_driver = {
10731073
.driver = {
10741074
.name = "img-mdc-dma",
10751075
.pm = &img_mdc_pm_ops,
1076-
.of_match_table = of_match_ptr(mdc_dma_of_match),
1076+
.of_match_table = mdc_dma_of_match,
10771077
},
10781078
.probe = mdc_dma_probe,
10791079
.remove = mdc_dma_remove,

0 commit comments

Comments
 (0)