diff options
-rw-r--r-- | drivers/clocksource/sh_mtu2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c index db8d5955bad4..a2172f690418 100644 --- a/drivers/clocksource/sh_mtu2.c +++ b/drivers/clocksource/sh_mtu2.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/sh_timer.h> | 31 | #include <linux/sh_timer.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/module.h> | 33 | #include <linux/module.h> |
34 | #include <linux/pm_domain.h> | ||
34 | 35 | ||
35 | struct sh_mtu2_priv { | 36 | struct sh_mtu2_priv { |
36 | void __iomem *mapbase; | 37 | void __iomem *mapbase; |
@@ -306,6 +307,9 @@ static int __devinit sh_mtu2_probe(struct platform_device *pdev) | |||
306 | struct sh_mtu2_priv *p = platform_get_drvdata(pdev); | 307 | struct sh_mtu2_priv *p = platform_get_drvdata(pdev); |
307 | int ret; | 308 | int ret; |
308 | 309 | ||
310 | if (!is_early_platform_device(pdev)) | ||
311 | pm_genpd_dev_always_on(&pdev->dev, true); | ||
312 | |||
309 | if (p) { | 313 | if (p) { |
310 | dev_info(&pdev->dev, "kept as earlytimer\n"); | 314 | dev_info(&pdev->dev, "kept as earlytimer\n"); |
311 | return 0; | 315 | return 0; |