diff options
author | John Garry <john.garry@huawei.com> | 2018-09-22 01:25:27 +0800 |
---|---|---|
committer | Xinliang Liu <xinliang.liu@linaro.org> | 2018-09-26 11:40:30 +0800 |
commit | a66dae3a2b179eaba8f2f960271fe9d4c72939cb (patch) | |
tree | f25f1ebc090334be53b07e931dbb98ebdfb56103 /drivers/gpu/drm/hisilicon | |
parent | 0ff9f49646353ce31312411e7e7bd2281492a40e (diff) | |
download | linux-a66dae3a2b179eaba8f2f960271fe9d4c72939cb.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/hisilicon')
-rw-r--r-- | drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c index d4f6f1f9df5b..79b6bdafdc82 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c @@ -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,} }; |