瀏覽代碼

spi/dln2: Fix for PM_RUNTIME removal

Signed-off-by: Mark Brown <broonie@kernel.org>
Mark Brown 11 年之前
父節點
當前提交
b2e5dda14f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/spi/spi-dln2.c

+ 1 - 1
drivers/spi/spi-dln2.c

@@ -850,7 +850,7 @@ static int dln2_spi_resume(struct device *dev)
 }
 #endif /* CONFIG_PM_SLEEP */
 
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
 static int dln2_spi_runtime_suspend(struct device *dev)
 {
 	struct spi_master *master = dev_get_drvdata(dev);