From: Bin Meng Date: Wed, 11 Oct 2023 10:58:25 +0000 (+0800) Subject: net: e1000: Drop e1000_eth_ids[] X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=9e4cabcf4356d13ad0abb602278b34e4a7ca57ae;p=u-boot.git 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 Reviewed-by: Simon Glass --- diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 41e6ba760e..84a2a7cf90 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -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,