On Mon, Jun 06, 2022 at 05:17:13PM +0200, Miquel Raynal wrote: > When built without OF support, the match tables are not used and may > produce the following output: > >> drivers/dma/dw/rzn1-dmamux.c:105:34: warning: unused variable 'rzn1_dmac_match' [-Wunused-const-variable] > static const struct of_device_id rzn1_dmac_match[] = { > > One way to silence the warnings is to define the structures with > __maybe_unused. Can we simply drop CONFIG_OF / of_match_ptr() instead, please? -- With Best Regards, Andy Shevchenko