spi/dln2: Fix for PM_RUNTIME removal
PATCH 1/1 spi/dln2: Fix for PM_RUNTIME removal
--- drivers/spi/spi-dln2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-dln2.c +1 -1
@@ -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);
Signature · 6 lines
2.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Mark,
Quoted 10 lines · Mark Brown
Signed-off-by Mark Brown <[email protected]>--- drivers/spi/spi-dln2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/spi/spi-dln2.c +0
-0
drivers/spi/spi-dln2.c static int dln2_spi_resume(struct device *dev) · line 856
Quoted 8 lines
drivers/spi/spi-dln2.c +1
-1@@ -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);
You forgot to update the comment for the corresponding #endif a few lines below:
#endif /* CONFIG_PM_RUNTIME */
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Geert Uytterhoeven
Quoted 4 lines · Mark Brown
+#ifdef
CONFIG_PM
static intdln2_spi_runtime_suspend(struct device *dev){ struct spi_master *master = dev_get_drvdata(dev);You forgot to update the comment for the corresponding #endif a few lines below:
#endif /* CONFIG_PM_RUNTIME */
*sigh* which is one of the many reasons to get annoyed about those comments; if you care about this please feel free to send a patch.