summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/sh_tmu.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-08-06 01:45:54 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-04 01:36:03 +0200
commit6fb28badf207a6d8a78906353772e1c3f560a977 (patch)
tree3cb1cdc06c263708dd40e9c490fcf8ddf921bbbd /drivers/clocksource/sh_tmu.c
parentPM / Runtime: Allow helpers to be called by early platform drivers (diff)
downloadlinux-6fb28badf207a6d8a78906353772e1c3f560a977.tar.xz
linux-6fb28badf207a6d8a78906353772e1c3f560a977.zip
PM / Domains: Rename the always_on device flag to syscore
The always_on device flag is used to mark the devices (belonging to a PM domain) that should never be turned off, except for the system core (syscore) suspend/hibernation and resume stages. Change name of that flag to "syscore" to better reflect its purpose. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'drivers/clocksource/sh_tmu.c')
-rw-r--r--drivers/clocksource/sh_tmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c
index 7d700829bb41..5319689c579c 100644
--- a/drivers/clocksource/sh_tmu.c
+++ b/drivers/clocksource/sh_tmu.c
@@ -453,7 +453,7 @@ static int __devinit sh_tmu_probe(struct platform_device *pdev)
struct sh_timer_config *cfg = pdev->dev.platform_data;
if (cfg->clocksource_rating || cfg->clockevent_rating)
- pm_genpd_dev_always_on(&pdev->dev, true);
+ pm_genpd_dev_syscore(&pdev->dev, true);
}
if (p) {