diff options
| author | Huacai Chen <[email protected]> | 2020-07-08 15:59:30 +0800 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2020-07-09 17:00:47 -0500 |
| commit | 2575b2f3ee711f4638e772e07a5146afcc704f30 (patch) | |
| tree | a52ba8f9cd1c75b52901140a488ed1937af21c53 /samples/vfio-mdev | |
| parent | c7c337c5eded50a5a1265a0e8918db66e5982f47 (diff) | |
PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h
Instead of duplicating the PCI_VENDOR_ID_REDHAT definition everywhere, move
it to include/linux/pci_ids.h.
[bhelgaas: also update MDPY_PCI_VENDOR_ID]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'samples/vfio-mdev')
| -rw-r--r-- | samples/vfio-mdev/mdpy-defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/vfio-mdev/mdpy-defs.h b/samples/vfio-mdev/mdpy-defs.h index eb26421b6429..961c55ec3ffd 100644 --- a/samples/vfio-mdev/mdpy-defs.h +++ b/samples/vfio-mdev/mdpy-defs.h @@ -9,7 +9,7 @@ */ /* pci ids */ -#define MDPY_PCI_VENDOR_ID 0x1b36 /* redhat */ +#define MDPY_PCI_VENDOR_ID PCI_VENDOR_ID_REDHAT #define MDPY_PCI_DEVICE_ID 0x000f #define MDPY_PCI_SUBVENDOR_ID PCI_SUBVENDOR_ID_REDHAT_QUMRANET #define MDPY_PCI_SUBDEVICE_ID PCI_SUBDEVICE_ID_QEMU |
