diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-07 12:26:59 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@r063144.stusta.swh.mhn.de> | 2005-11-07 12:26:59 +0100 |
commit | b7c4a9f83f3c0f6f2a2750a389a9b758c3d9e9d2 (patch) | |
tree | 66bf5c66ed505a739bf8633d1931f0d0526bd6d6 /include/asm-ppc64/prom.h | |
parent | 65163fd73c65e4c61437c28ac4ef9f3c5ba16a80 (diff) | |
parent | 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 (diff) | |
download | kernel_samsung_smdk4412-b7c4a9f83f3c0f6f2a2750a389a9b758c3d9e9d2.zip kernel_samsung_smdk4412-b7c4a9f83f3c0f6f2a2750a389a9b758c3d9e9d2.tar.gz kernel_samsung_smdk4412-b7c4a9f83f3c0f6f2a2750a389a9b758c3d9e9d2.tar.bz2 |
Merge with http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/asm-ppc64/prom.h')
-rw-r--r-- | include/asm-ppc64/prom.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-ppc64/prom.h b/include/asm-ppc64/prom.h index e8d0d2a..bdb4717 100644 --- a/include/asm-ppc64/prom.h +++ b/include/asm-ppc64/prom.h @@ -188,6 +188,14 @@ extern struct device_node *of_get_next_child(const struct device_node *node, extern struct device_node *of_node_get(struct device_node *node); extern void of_node_put(struct device_node *node); +/* For scanning the flat device-tree at boot time */ +int __init of_scan_flat_dt(int (*it)(unsigned long node, + const char *uname, int depth, + void *data), + void *data); +void* __init of_get_flat_dt_prop(unsigned long node, const char *name, + unsigned long *size); + /* For updating the device tree at runtime */ extern void of_attach_node(struct device_node *); extern void of_detach_node(const struct device_node *); |