On 24/08/2022 06:55, Nava kishore Manne wrote: > Add zynqmp AXI FIFO interface(AFI) config driver. This is useful for the > configuration of the PS-PL interface on Zynq US+ MPSoC platform. > > Signed-off-by: Nava kishore Manne <nava.kishore.manne@xxxxxxx> > --- (...) > + > +static struct platform_driver zynqmp_afi_driver = { > + .probe = zynqmp_afi_probe, > + .remove = zynqmp_afi_remove, > + .driver = { > + .name = "zynqmp_afi", > + .of_match_table = of_match_ptr(zynqmp_afi_of_match), It should generate warnings... test compile your driver. Drop of_match_ptr() or use __maybe_unused Best regards, Krzysztof