drivers/net/airoha_eth: add missing terminator for compatible devices list

Compatible device list must have a terminator. If terminator is missed
the u-boot driver subsystem will access random data placed after the
list in the memory.

The issue can be observed with the "dm compat" command.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
This commit is contained in:
Mikhail Kshevetskiy
2025-07-09 12:28:07 +03:00
committed by Tom Rini
parent bbca681cde
commit 189d0b4477

View File

@@ -926,6 +926,7 @@ static int arht_eth_write_hwaddr(struct udevice *dev)
static const struct udevice_id airoha_eth_ids[] = {
{ .compatible = "airoha,en7581-eth" },
{ }
};
static const struct eth_ops airoha_eth_ops = {