[U-Boot] [PATCH] drivers: net: fsl_enet_mdio: fix missing terminator in PCI ID array

Alex Marginean alexandru.marginean at nxp.com
Wed Aug 7 16:33:22 UTC 2019


It was missing in the original submission and not having it in place causes
issues with probing of PCI devices.

Signed-off-by: Alex Marginean <alexm.osslist at gmail.com>
---
 drivers/net/fsl_enetc_mdio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/fsl_enetc_mdio.c b/drivers/net/fsl_enetc_mdio.c
index 60d21537b8..b4463a58a5 100644
--- a/drivers/net/fsl_enetc_mdio.c
+++ b/drivers/net/fsl_enetc_mdio.c
@@ -144,6 +144,7 @@ U_BOOT_DRIVER(enetc_mdio) = {
 
 static struct pci_device_id enetc_mdio_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, PCI_DEVICE_ID_ENETC_MDIO) },
+	{ }
 };
 
 U_BOOT_PCI_DEVICE(enetc_mdio, enetc_mdio_ids);
-- 
2.17.1



More information about the U-Boot mailing list