lkml.org 
[lkml]   [2024]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 10/71] PCI: PM: Switch to new Intel CPU model defines
    Date
    New CPU #defines encode vendor and family as well as model.

    Signed-off-by: Tony Luck <tony.luck@intel.com>
    Acked-by: Bjorn Helgaas <bhelgaas@google.com>
    ---
    drivers/pci/pci-mid.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/pci/pci-mid.c b/drivers/pci/pci-mid.c
    index fbfd78127123..bed9f0755271 100644
    --- a/drivers/pci/pci-mid.c
    +++ b/drivers/pci/pci-mid.c
    @@ -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),
    {}
    };

    --
    2.44.0

    \
     
     \ /
      Last update: 2024-05-27 18:01    [W:3.516 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site