diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2020-05-17 19:24:13 +0300 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-06-29 23:36:35 +0300 |
commit | d3b1df0f396adb2b5c25ff655c3dae8624c41e50 (patch) | |
tree | 2f95c2aaa32085de1e023c0610f7c665ed2f3c81 /drivers | |
parent | b92b8f48fb47c48b3f9df91ea1009b5789d55e19 (diff) | |
download | u-boot-d3b1df0f396adb2b5c25ff655c3dae8624c41e50.tar.xz |
net: pcnet: Use PCI_DEVICE() to define PCI device compat list
Use this macro to fully fill the PCI device ID table. This is mandatory
for the DM PCI support, which checks all the fields.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/pcnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index edc4dba24c..e7ce79e952 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -155,7 +155,7 @@ static inline pci_addr_t pcnet_virt_to_mem(const struct eth_device *dev, } static struct pci_device_id supported[] = { - {PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_LANCE}, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_LANCE) }, {} }; |