]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: net: fsl_enet_mdio: fix missing terminator in PCI ID array
authorAlex Marginean <alexandru.marginean@nxp.com>
Wed, 7 Aug 2019 16:33:22 +0000 (19:33 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Sep 2019 16:37:19 +0000 (11:37 -0500)
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@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fsl_enetc_mdio.c

index 60d21537b807f0105ed97c99102b7faa26a470ff..b4463a58a5761c1b61fbc6e243ebd1f140f92201 100644 (file)
@@ -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);