Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31305
b: refs/heads/master
c: 9152148
h: refs/heads/master
i:
  31303: 515dc27
v: v3
  • Loading branch information
David S. Miller authored and David S. Miller committed Jun 29, 2006
1 parent 22cbbbc commit 953fb0f
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 00cde6748255a84beecfdea4caeaf7c9cd05a527
refs/heads/master: 915214853d7681416d6bdd1591787cdbded459e7
7 changes: 7 additions & 0 deletions trunk/arch/sparc64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,13 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
if (!model || !clock_model_matches(model))
return -ENODEV;

/* On an Enterprise system there can be multiple mostek clocks.
* We should only match the one that is on the central FHC bus.
*/
if (!strcmp(dp->parent, "fhc") &&
strcmp(dp->parent->parent, "central") != 0)
return -ENODEV;

size = (op->resource[0].end - op->resource[0].start) + 1;
regs = of_ioremap(&op->resource[0], 0, size, "clock");
if (!regs)
Expand Down

0 comments on commit 953fb0f

Please sign in to comment.