Skip to content
Snippets Groups Projects
Commit a66dae3a authored by John Garry's avatar John Garry Committed by Xinliang Liu
Browse files

drm/hisilicon: hibmc: Use HUAWEI PCI vendor ID macro


Switch to use Huawei PCI vendor ID macro from pci_ids.h file.

In addition, switch to use PCI_VDEVICE() instead of open coding.

Signed-off-by: default avatarJohn Garry <john.garry@huawei.com>
Reviewed-by: default avatarXinliang Liu <z.liuxinliang@hisilicon.com>
Signed-off-by: default avatarXinliang Liu <z.liuxinliang@hisilicon.com>
parent 0ff9f496
No related branches found
No related tags found
No related merge requests found
......@@ -402,7 +402,7 @@ static void hibmc_pci_remove(struct pci_dev *pdev)
}
static struct pci_device_id hibmc_pci_table[] = {
{0x19e5, 0x1711, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VDEVICE(HUAWEI, 0x1711) },
{0,}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment