diff options
author | David S. Miller <davem@davemloft.net> | 2006-06-29 17:43:37 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-29 19:37:35 -0400 |
commit | c3a8b85f5ac2c21f4ef75e87bfe55ee7a753ffcf (patch) | |
tree | c12123873c1f1f7f0e9413fe89720914be67158f /arch/sparc64/kernel | |
parent | 915214853d7681416d6bdd1591787cdbded459e7 (diff) |
[SPARC64]: Fix typo in clock_probe().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r-- | arch/sparc64/kernel/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c index 75cb6b4dc14f..e3132b467681 100644 --- a/arch/sparc64/kernel/time.c +++ b/arch/sparc64/kernel/time.c | |||
@@ -783,8 +783,8 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id | |||
783 | /* On an Enterprise system there can be multiple mostek clocks. | 783 | /* On an Enterprise system there can be multiple mostek clocks. |
784 | * We should only match the one that is on the central FHC bus. | 784 | * We should only match the one that is on the central FHC bus. |
785 | */ | 785 | */ |
786 | if (!strcmp(dp->parent, "fhc") && | 786 | if (!strcmp(dp->parent->name, "fhc") && |
787 | strcmp(dp->parent->parent, "central") != 0) | 787 | strcmp(dp->parent->parent->name, "central") != 0) |
788 | return -ENODEV; | 788 | return -ENODEV; |
789 | 789 | ||
790 | size = (op->resource[0].end - op->resource[0].start) + 1; | 790 | size = (op->resource[0].end - op->resource[0].start) + 1; |