Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291888
b: refs/heads/master
c: 57d1337
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Mar 16, 2012
1 parent fcda23a commit 8d0f51f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 615a445f7f8a077c145e737864ae59a4d8717882
refs/heads/master: 57d13370cfaf6017c68981e66ff5b3bf20a2705c
4 changes: 4 additions & 0 deletions trunk/drivers/clocksource/sh_mtu2.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <linux/sh_timer.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pm_domain.h>

struct sh_mtu2_priv {
void __iomem *mapbase;
Expand Down Expand Up @@ -306,6 +307,9 @@ static int __devinit sh_mtu2_probe(struct platform_device *pdev)
struct sh_mtu2_priv *p = platform_get_drvdata(pdev);
int ret;

if (!is_early_platform_device(pdev))
pm_genpd_dev_always_on(&pdev->dev, true);

if (p) {
dev_info(&pdev->dev, "kept as earlytimer\n");
return 0;
Expand Down

0 comments on commit 8d0f51f

Please sign in to comment.