diff mbox

spi: dln2: Correct #endif comment for #ifdef CONFIG_PM

Message ID 1420575362-17076-1-git-send-email-geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show

Commit Message

Geert Uytterhoeven Jan. 6, 2015, 8:16 p.m. UTC
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Fixes: b2e5dda14fbc2ca1 ("spi/dln2: Fix for PM_RUNTIME removal")
---
 drivers/spi/spi-dln2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown Jan. 7, 2015, 11:36 a.m. UTC | #1
On Tue, Jan 06, 2015 at 09:16:02PM +0100, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Fixes: b2e5dda14fbc2ca1 ("spi/dln2: Fix for PM_RUNTIME removal")

That's already been updated.
diff mbox

Patch

diff --git a/drivers/spi/spi-dln2.c b/drivers/spi/spi-dln2.c
index cede0633c05a5a87..8afa999266a37068 100644
--- a/drivers/spi/spi-dln2.c
+++ b/drivers/spi/spi-dln2.c
@@ -866,7 +866,7 @@  static int dln2_spi_runtime_resume(struct device *dev)
 
 	return  dln2_spi_enable(dln2, true);
 }
-#endif /* CONFIG_PM_RUNTIME */
+#endif /* CONFIG_PM */
 
 static const struct dev_pm_ops dln2_spi_pm = {
 	SET_SYSTEM_SLEEP_PM_OPS(dln2_spi_suspend, dln2_spi_resume)