Only three of the compatibles listed exist in up-to-date upstream device trees. As barebox need not worry about backwards compatibility with older device trees, remove the rest that would never be matched. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/usb/dwc3/dwc3-of-simple.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c index e8155321ad22..1e622240152e 100644 --- a/drivers/usb/dwc3/dwc3-of-simple.c +++ b/drivers/usb/dwc3/dwc3-of-simple.c @@ -67,13 +67,7 @@ static void dwc3_of_simple_remove(struct device *dev) static const struct of_device_id of_dwc3_simple_match[] = { {.compatible = "rockchip,rk3399-dwc3"}, {.compatible = "xlnx,zynqmp-dwc3"}, - {.compatible = "fsl,ls1046a-dwc3"}, {.compatible = "fsl,imx8mp-dwc3"}, - {.compatible = "cavium,octeon-7130-usb-uctl"}, - {.compatible = "sprd,sc9860-dwc3"}, - {.compatible = "amlogic,meson-axg-dwc3"}, - {.compatible = "amlogic,meson-gxl-dwc3"}, - {.compatible = "allwinner,sun50i-h6-dwc3"}, {/* Sentinel */}}; MODULE_DEVICE_TABLE(of, of_dwc3_simple_match); -- 2.39.2