diff options
-rw-r--r-- | drivers/amba/bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index 9e6029105607..3cf61a127ee5 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c | |||
@@ -83,7 +83,7 @@ static struct device_attribute amba_dev_attrs[] = { | |||
83 | __ATTR_NULL, | 83 | __ATTR_NULL, |
84 | }; | 84 | }; |
85 | 85 | ||
86 | #ifdef CONFIG_PM_RUNTIME | 86 | #ifdef CONFIG_PM |
87 | /* | 87 | /* |
88 | * Hooks to provide runtime PM of the pclk (bus clock). It is safe to | 88 | * Hooks to provide runtime PM of the pclk (bus clock). It is safe to |
89 | * enable/disable the bus clock at runtime PM suspend/resume as this | 89 | * enable/disable the bus clock at runtime PM suspend/resume as this |
@@ -123,7 +123,7 @@ static const struct dev_pm_ops amba_pm = { | |||
123 | .thaw = pm_generic_thaw, | 123 | .thaw = pm_generic_thaw, |
124 | .poweroff = pm_generic_poweroff, | 124 | .poweroff = pm_generic_poweroff, |
125 | .restore = pm_generic_restore, | 125 | .restore = pm_generic_restore, |
126 | SET_RUNTIME_PM_OPS( | 126 | SET_PM_RUNTIME_PM_OPS( |
127 | amba_pm_runtime_suspend, | 127 | amba_pm_runtime_suspend, |
128 | amba_pm_runtime_resume, | 128 | amba_pm_runtime_resume, |
129 | NULL | 129 | NULL |