diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-10-15 12:57:49 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-10-15 12:57:49 -0400 |
commit | 6f1924928377bd035a9f64466f91a487c69271d2 (patch) | |
tree | 1a162237e621a0d6ebcc2fca305d2c96d284e5a3 /arch/sparc/include | |
parent | 731581e6a653f6a68a4d7ba9df6b886a85c7d080 (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/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/prom.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h index b34f988a2aad..e5f4a1d8fc46 100644 --- a/arch/sparc/include/asm/prom.h +++ b/arch/sparc/include/asm/prom.h | |||
@@ -29,30 +29,6 @@ | |||
29 | #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) | 29 | #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) |
30 | #define of_node_cmp(s1, s2) strcmp((s1), (s2)) | 30 | #define of_node_cmp(s1, s2) strcmp((s1), (s2)) |
31 | 31 | ||
32 | struct of_irq_controller; | ||
33 | struct device_node { | ||
34 | const char *name; | ||
35 | const char *type; | ||
36 | phandle node; | ||
37 | char *path_component_name; | ||
38 | char *full_name; | ||
39 | |||
40 | struct property *properties; | ||
41 | struct property *deadprops; /* removed properties */ | ||
42 | struct device_node *parent; | ||
43 | struct device_node *child; | ||
44 | struct device_node *sibling; | ||
45 | struct device_node *next; /* next device of same type */ | ||
46 | struct device_node *allnext; /* next in list of all nodes */ | ||
47 | struct proc_dir_entry *pde; /* this node's proc directory */ | ||
48 | struct kref kref; | ||
49 | unsigned long _flags; | ||
50 | void *data; | ||
51 | unsigned int unique_id; | ||
52 | |||
53 | struct of_irq_controller *irq_trans; | ||
54 | }; | ||
55 | |||
56 | struct of_irq_controller { | 32 | struct of_irq_controller { |
57 | unsigned int (*irq_build)(struct device_node *, unsigned int, void *); | 33 | unsigned int (*irq_build)(struct device_node *, unsigned int, void *); |
58 | void *data; | 34 | void *data; |