mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
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: John Garry <john.garry@huawei.com> Reviewed-by: Xinliang Liu <z.liuxinliang@hisilicon.com> Signed-off-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
This commit is contained in:
parent
0ff9f49646
commit
a66dae3a2b
1 changed files with 1 additions and 1 deletions
|
@ -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,}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue