diff mbox series

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

Message ID 20190807163322.5528-1-alexandru.marginean@nxp.com
State Accepted
Commit e3562b3a8e5385c47910bbda2e77822e6ed001ad
Delegated to: Joe Hershberger
Headers show
Series [U-Boot] drivers: net: fsl_enet_mdio: fix missing terminator in PCI ID array | expand

Commit Message

Alexandru Marginean Aug. 7, 2019, 4:33 p.m. UTC
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>
---
 drivers/net/fsl_enetc_mdio.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Joe Hershberger Sept. 3, 2019, 10:06 p.m. UTC | #1
On Wed, Aug 7, 2019 at 11:33 AM Alex Marginean
<alexandru.marginean@nxp.com> wrote:
>
> 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>
Joe Hershberger Sept. 4, 2019, 4:41 p.m. UTC | #2
Hi Alex,

https://patchwork.ozlabs.org/patch/1143592/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git

Thanks!
-Joe
diff mbox series

Patch

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);