mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 22:36:05 +00:00
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 <bmeng@tinylab.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
798962cedd
commit
9e4cabcf43
1 changed files with 0 additions and 6 deletions
|
@ -5718,15 +5718,9 @@ static const struct eth_ops e1000_eth_ops = {
|
||||||
.write_hwaddr = e1000_write_hwaddr,
|
.write_hwaddr = e1000_write_hwaddr,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct udevice_id e1000_eth_ids[] = {
|
|
||||||
{ .compatible = "intel,e1000" },
|
|
||||||
{ }
|
|
||||||
};
|
|
||||||
|
|
||||||
U_BOOT_DRIVER(eth_e1000) = {
|
U_BOOT_DRIVER(eth_e1000) = {
|
||||||
.name = "eth_e1000",
|
.name = "eth_e1000",
|
||||||
.id = UCLASS_ETH,
|
.id = UCLASS_ETH,
|
||||||
.of_match = e1000_eth_ids,
|
|
||||||
.bind = e1000_eth_bind,
|
.bind = e1000_eth_bind,
|
||||||
.probe = e1000_eth_probe,
|
.probe = e1000_eth_probe,
|
||||||
.ops = &e1000_eth_ops,
|
.ops = &e1000_eth_ops,
|
||||||
|
|
Loading…
Add table
Reference in a new issue