···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.785 */786- if (!strcmp(dp->parent, "fhc") &&787- strcmp(dp->parent->parent, "central") != 0)788 return -ENODEV;789790 size = (op->resource[0].end - op->resource[0].start) + 1;
···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.785 */786+ if (!strcmp(dp->parent->name, "fhc") &&787+ strcmp(dp->parent->parent->name, "central") != 0)788 return -ENODEV;789790 size = (op->resource[0].end - op->resource[0].start) + 1;