]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: e1000: Drop e1000_eth_ids[]
authorBin Meng <bmeng@tinylab.org>
Wed, 11 Oct 2023 10:58:25 +0000 (18:58 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 5 Nov 2023 21:11:38 +0000 (16:11 -0500)
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 <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/net/e1000.c

index 41e6ba760e2992f741d7dd5b7390967c121892e7..84a2a7cf90494a1b00bd54fb7de81994c5590d3c 100644 (file)
@@ -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,