projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9152148
)
[SPARC64]: Fix typo in clock_probe().
author
David S. Miller
<davem@davemloft.net>
Thu, 29 Jun 2006 21:43:37 +0000
(14:43 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:37:35 +0000
(16:37 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/time.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/time.c
b/arch/sparc64/kernel/time.c
index
75cb6b4
..
e3132b4
100644
(file)
--- 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
/* 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;