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>
This commit is contained in:
parent
9d24c888c7
commit
731581e6a6
4 changed files with 12 additions and 34 deletions
|
@ -19,6 +19,18 @@
|
|||
#include <linux/bitops.h>
|
||||
#include <linux/mod_devicetable.h>
|
||||
|
||||
typedef u32 phandle;
|
||||
typedef u32 ihandle;
|
||||
|
||||
struct property {
|
||||
char *name;
|
||||
int length;
|
||||
void *value;
|
||||
struct property *next;
|
||||
unsigned long _flags;
|
||||
unsigned int unique_id;
|
||||
};
|
||||
|
||||
#include <asm/prom.h>
|
||||
|
||||
/* flag descriptions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue