aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/denverton_ns/pmc.c
diff options
context:
space:
mode:
authorFelix Singer <felix.singer@9elements.com>2019-11-22 00:10:20 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-02 19:13:10 +0000
commitdbc90df35d814ad0d039793139c3e7e683ee0310 (patch)
tree4bda4d4b3985a67c4e1ff366efe53c8c5057d170 /src/soc/intel/denverton_ns/pmc.c
parentc4a8c48b2f70d56c7c318f4ce24a467a1d708ef5 (diff)
soc/intel/denverton: Move PCI IDs to pci_ids.h
This patch moves the PCI ID definitions to pci_ids.h file and replaces every occurrence with the new names. The resulting binary doesn't differ from the one without this patch. Used documents: - Intel 337018 Change-Id: Ib7d2aae78c8877f3c9287d03b20a5620db293445 Signed-off-by: Felix Singer <felix.singer@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37120 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/soc/intel/denverton_ns/pmc.c')
-rw-r--r--src/soc/intel/denverton_ns/pmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/denverton_ns/pmc.c b/src/soc/intel/denverton_ns/pmc.c
index 8b520873e5..cbb9a4ead8 100644
--- a/src/soc/intel/denverton_ns/pmc.c
+++ b/src/soc/intel/denverton_ns/pmc.c
@@ -113,5 +113,5 @@ static struct device_operations pmc_ops = {
static const struct pci_driver pch_pmc __pci_driver = {
.ops = &pmc_ops,
.vendor = PCI_VENDOR_ID_INTEL,
- .device = PMC_DEVID,
+ .device = PCI_DEVICE_ID_INTEL_DENVERTON_PMC,
};