]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI/PM: Switch to new Intel CPU model defines
authorTony Luck <tony.luck@intel.com>
Tue, 11 Jun 2024 17:28:16 +0000 (10:28 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Jun 2024 22:08:14 +0000 (17:08 -0500)
New CPU #defines encode vendor and family as well as model.

Link: https://lore.kernel.org/r/20240611172816.352828-1-tony.luck@intel.com
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-mid.c

index fbfd7812712381c9f5dfb6b3b7dc47751dbfa228..bed9f0755271d1b7e31d7c3e8d1819fbc6844d30 100644 (file)
@@ -38,8 +38,8 @@ pci_power_t mid_pci_get_power_state(struct pci_dev *pdev)
  * arch/x86/platform/intel-mid/pwr.c.
  */
 static const struct x86_cpu_id lpss_cpu_ids[] = {
-       X86_MATCH_INTEL_FAM6_MODEL(ATOM_SALTWELL_MID, NULL),
-       X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, NULL),
+       X86_MATCH_VFM(INTEL_ATOM_SALTWELL_MID, NULL),
+       X86_MATCH_VFM(INTEL_ATOM_SILVERMONT_MID, NULL),
        {}
 };