Skip to content

Commit

Permalink
[SPARC64]: Fix typo in clock_probe().
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller authored and David S. Miller committed Jun 29, 2006
1 parent 9152148 commit c3a8b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sparc64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,8 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
/* 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)
if (!strcmp(dp->parent->name, "fhc") &&
strcmp(dp->parent->parent->name, "central") != 0)
return -ENODEV;

size = (op->resource[0].end - op->resource[0].start) + 1;
Expand Down

0 comments on commit c3a8b85

Please sign in to comment.