diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c index df7590b7dc2c..5f750edce542 100644 --- a/drivers/gpu/drm/xe/xe_pci.c +++ b/drivers/gpu/drm/xe/xe_pci.c @@ -702,7 +702,6 @@ static int xe_pci_resume(struct device *dev) return 0; } -#endif static int xe_pci_runtime_suspend(struct device *dev) { @@ -765,6 +764,7 @@ static int xe_pci_runtime_idle(struct device *dev) return 0; } +#endif static const struct dev_pm_ops xe_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)