summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-10-15 18:57:46 +0200
committerGrant Likely <grant.likely@secretlab.ca>2009-10-15 18:57:46 +0200
commit731581e6a653f6a68a4d7ba9df6b886a85c7d080 (patch)
treea89d70ebec3e3d9d261625344d1edcd5e24a905a /arch/sparc
parentof: Rework linux/of.h and asm/prom.h include ordering (diff)
downloadlinux-731581e6a653f6a68a4d7ba9df6b886a85c7d080.tar.xz
linux-731581e6a653f6a68a4d7ba9df6b886a85c7d080.zip
of: merge phandle, ihandle and struct property
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')
-rw-r--r--arch/sparc/include/asm/prom.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h
index 0733170e02ca..b34f988a2aad 100644
--- a/arch/sparc/include/asm/prom.h
+++ b/arch/sparc/include/asm/prom.h
@@ -29,18 +29,6 @@
#define of_prop_cmp(s1, s2) strcasecmp((s1), (s2))
#define of_node_cmp(s1, s2) strcmp((s1), (s2))
-typedef u32 phandle;
-typedef u32 ihandle;
-
-struct property {
- char *name;
- int length;
- void *value;
- struct property *next;
- unsigned long _flags;
- unsigned int unique_id;
-};
-
struct of_irq_controller;
struct device_node {
const char *name;