aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/hw_random/exynos-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/exynos-rng.c b/drivers/char/hw_random/exynos-rng.c
index 9f8277cc44b4..993efd7f6c7e 100644
--- a/drivers/char/hw_random/exynos-rng.c
+++ b/drivers/char/hw_random/exynos-rng.c
@@ -143,7 +143,7 @@ static int exynos_rng_remove(struct platform_device *pdev)
143 return 0; 143 return 0;
144} 144}
145 145
146#if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME) 146#ifdef CONFIG_PM
147static int exynos_rng_runtime_suspend(struct device *dev) 147static int exynos_rng_runtime_suspend(struct device *dev)
148{ 148{
149 struct platform_device *pdev = to_platform_device(dev); 149 struct platform_device *pdev = to_platform_device(dev);