net: e1000: Drop e1000_eth_ids[]
PATCH 1/1 net: e1000: Drop e1000_eth_ids[]
e1000_eth_ids holds compatible strings for e1000 devices, but it is meaningless as e1000 is a PCI device and there is no such compatible string assigned to e1000 by the DT bindings community.
Drop it.
Signed-off-by Bin Meng <[email protected]>
---
drivers/net/e1000.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/net/e1000.c +0 -6
@@ -5718,15 +5718,9 @@ static const struct eth_ops e1000_eth_ops = { .write_hwaddr = e1000_write_hwaddr, }; -static const struct udevice_id e1000_eth_ids[] = { - { .compatible ="intel,e1000" }, - { } -}; -U_BOOT_DRIVER (eth_e1000) = { .name ="eth_e1000" , .id =UCLASS_ETH , - .of_match = e1000_eth_ids, .bind = e1000_eth_bind, .probe = e1000_eth_probe, .ops = &e1000_eth_ops,
Signature · 1 line
2.34.1
Quoted 5 lines · Bin Meng
e1000_eth_idsholds compatible strings for e1000 devices, but it is meaningless as e1000 is a PCI device and there is no such compatible string assigned to e1000 by the DT bindings community.
Quoted 7 lines
Drop it.
Signed-off-by Bin Meng <[email protected]>---
drivers/net/e1000.c | 6 ------ 1 file changed, 6 deletions(-)
Reviewed-by Simon Glass <[email protected]>
Quoted 8 lines · Bin Meng
e1000_eth_idsholds compatible strings for e1000 devices, but it is meaningless as e1000 is a PCI device and there is no such compatible string assigned to e1000 by the DT bindings community.Drop it.
Signed-off-by Bin Meng <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom