summaryrefslogtreecommitdiff
path: root/src/drivers/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel')
-rw-r--r--src/drivers/intel/gma/opregion.c2
-rw-r--r--src/drivers/intel/i210/i210.c2
-rw-r--r--src/drivers/intel/ish/ish.c10
3 files changed, 7 insertions, 7 deletions
diff --git a/src/drivers/intel/gma/opregion.c b/src/drivers/intel/gma/opregion.c
index 430bda35b1..ff77f653b0 100644
--- a/src/drivers/intel/gma/opregion.c
+++ b/src/drivers/intel/gma/opregion.c
@@ -159,7 +159,7 @@ static enum cb_err locate_vbt_vbios(const u8 *vbios, struct region_device *rdev)
/* Make sure we got an Intel VGA option rom */
if ((oprom->signature != OPROM_SIGNATURE) ||
- (pcir->vendor != PCI_VENDOR_ID_INTEL) ||
+ (pcir->vendor != PCI_VID_INTEL) ||
(pcir->signature != 0x52494350) ||
(pcir->classcode[0] != 0x00) ||
(pcir->classcode[1] != 0x00) ||
diff --git a/src/drivers/intel/i210/i210.c b/src/drivers/intel/i210/i210.c
index 32cae6f269..0b2fcd250e 100644
--- a/src/drivers/intel/i210/i210.c
+++ b/src/drivers/intel/i210/i210.c
@@ -224,6 +224,6 @@ static const unsigned short i210_device_ids[] = { 0x1537, 0x1538, 0x1533, 0 };
static const struct pci_driver i210_driver __pci_driver = {
.ops = &i210_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = i210_device_ids,
};
diff --git a/src/drivers/intel/ish/ish.c b/src/drivers/intel/ish/ish.c
index 9ab4f2d510..7718ac543f 100644
--- a/src/drivers/intel/ish/ish.c
+++ b/src/drivers/intel/ish/ish.c
@@ -51,16 +51,16 @@ static const struct device_operations pci_ish_device_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DEVICE_ID_INTEL_CNL_ISHB,
- PCI_DEVICE_ID_INTEL_CML_ISHB,
- PCI_DEVICE_ID_INTEL_TGL_ISHB,
- PCI_DEVICE_ID_INTEL_TGL_H_ISHB,
+ PCI_DID_INTEL_CNL_ISHB,
+ PCI_DID_INTEL_CML_ISHB,
+ PCI_DID_INTEL_TGL_ISHB,
+ PCI_DID_INTEL_TGL_H_ISHB,
0
};
static const struct pci_driver ish_intel_driver __pci_driver = {
.ops = &pci_ish_device_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
};