aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/prom.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-10-15 12:57:49 -0400
committerGrant Likely <grant.likely@secretlab.ca>2009-10-15 12:57:49 -0400
commit6f1924928377bd035a9f64466f91a487c69271d2 (patch)
tree1a162237e621a0d6ebcc2fca305d2c96d284e5a3 /arch/powerpc/include/asm/prom.h
parent731581e6a653f6a68a4d7ba9df6b886a85c7d080 (diff)
of: merge struct device_node
Merge of common code duplicated between Sparc, PowerPC and Microblaze Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Michal Simek <monstr@monstr.eu> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/include/asm/prom.h')
-rw-r--r--arch/powerpc/include/asm/prom.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index c236326177a..c918db535f0 100644
--- a/arch/powerpc/include/asm/prom.h
+++ b/arch/powerpc/include/asm/prom.h
@@ -71,26 +71,6 @@ struct boot_param_header
71 u32 dt_struct_size; /* size of the DT structure block */ 71 u32 dt_struct_size; /* size of the DT structure block */
72}; 72};
73 73
74struct device_node {
75 const char *name;
76 const char *type;
77 phandle node;
78 phandle linux_phandle;
79 char *full_name;
80
81 struct property *properties;
82 struct property *deadprops; /* removed properties */
83 struct device_node *parent;
84 struct device_node *child;
85 struct device_node *sibling;
86 struct device_node *next; /* next device of same type */
87 struct device_node *allnext; /* next in list of all nodes */
88 struct proc_dir_entry *pde; /* this node's proc directory */
89 struct kref kref;
90 unsigned long _flags;
91 void *data;
92};
93
94extern struct device_node *of_chosen; 74extern struct device_node *of_chosen;
95 75
96static inline int of_node_check_flag(struct device_node *n, unsigned long flag) 76static inline int of_node_check_flag(struct device_node *n, unsigned long flag)