commit | 800d1d170368827f025afec9d02211a37d3b78f8 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Sun Jul 04 12:48:21 2010 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Tue Jul 20 04:40:06 2010 -0500 |
tree | 06cbabb33e76153a7bbab9c15daa6f126e2c8968 | |
parent | b87e79302555480199ecaed79b77f02bd96db295 [diff] |
fdt: Add fdt_node_offset_by_compat_reg helper Given a compatible string and physical address try and find a node that matches. This is useful when we want to find a specific device node to update (for example if we have multiple PCI nodes we can use the physical address to distinguish them when trying to update the device tree). Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Gerald Van Baren <vanbaren@cideas.com>