/* * First check for reg property within the node to keep backward * compatibility, then if reg doesn't exist look at the parent node
*/
reg = of_iomap(np, 0); if (!reg) {
parent_np = of_get_parent(np);
reg = of_iomap(parent_np, 0);
of_node_put(parent_np); if (!reg) {
pr_err("%s: Failed to get base address\n", __func__); return;
}
}
parents = clkgen_mux_get_parents(np, &num_parents); if (IS_ERR(parents)) {
pr_err("%s: Failed to get parents (%ld)\n",
__func__, PTR_ERR(parents)); goto err_parents;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.