commit | 75e73afd5784c0df6a5e35c5a5b2e2fce0296bc0 | [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 | a0342c0804251c84a7ec1a2c78ea3bb30b5b5058 [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>