|
@@ -391,7 +391,7 @@ static int dw8250_remove(struct platform_device *pdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_PM
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
static int dw8250_suspend(struct device *dev)
|
|
static int dw8250_suspend(struct device *dev)
|
|
{
|
|
{
|
|
struct dw8250_data *data = dev_get_drvdata(dev);
|
|
struct dw8250_data *data = dev_get_drvdata(dev);
|
|
@@ -409,7 +409,7 @@ static int dw8250_resume(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
-#endif /* CONFIG_PM */
|
|
|
|
|
|
+#endif /* CONFIG_PM_SLEEP */
|
|
|
|
|
|
#ifdef CONFIG_PM_RUNTIME
|
|
#ifdef CONFIG_PM_RUNTIME
|
|
static int dw8250_runtime_suspend(struct device *dev)
|
|
static int dw8250_runtime_suspend(struct device *dev)
|