mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
[SPARC64]: Fix typo in clock_probe().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
915214853d
commit
c3a8b85f5a
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
/* On an Enterprise system there can be multiple mostek clocks.
|
||||||
* We should only match the one that is on the central FHC bus.
|
* We should only match the one that is on the central FHC bus.
|
||||||
*/
|
*/
|
||||||
if (!strcmp(dp->parent, "fhc") &&
|
if (!strcmp(dp->parent->name, "fhc") &&
|
||||||
strcmp(dp->parent->parent, "central") != 0)
|
strcmp(dp->parent->parent->name, "central") != 0)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
size = (op->resource[0].end - op->resource[0].start) + 1;
|
size = (op->resource[0].end - op->resource[0].start) + 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue