Merge branch 'pm-core'
[muen/linux.git] / drivers / misc / mei / pci-me.c
index 78b3172c8e6e298fa8f74c93db2850c4f96b95a8..f4f17552c9b804c3667c6d3a7c702ac30a4eaac0 100644 (file)
@@ -225,7 +225,7 @@ static int mei_me_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
         * MEI requires to resume from runtime suspend mode
         * in order to perform link reset flow upon system suspend.
         */
-       pdev->dev_flags |= PCI_DEV_FLAGS_NEEDS_RESUME;
+       dev_pm_set_driver_flags(&pdev->dev, DPM_FLAG_NEVER_SKIP);
 
        /*
         * ME maps runtime suspend/resume to D0i states,