From: Marek Vasut Date: Sat, 20 Jun 2020 15:36:42 +0000 (+0200) Subject: net: dc2114x: Use PCI_DEVICE() to define PCI device compat list X-Git-Tag: v2020.10~100^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75e375b0a979176b72b0355534e03a863c19d95a;p=platform%2Fkernel%2Fu-boot.git net: dc2114x: 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 Cc: Joe Hershberger Cc: Ramon Fried --- diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index 0cb54e3..dee699a 100644 --- a/drivers/net/dc2114x.c +++ b/drivers/net/dc2114x.c @@ -568,8 +568,8 @@ static void read_hw_addr(struct eth_device *dev, struct bd_info *bis) } static struct pci_device_id supported[] = { - { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_FAST }, - { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_21142 }, + { PCI_DEVICE(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_FAST) }, + { PCI_DEVICE(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_21142) }, { } };