of: remove struct property.unique_id for FDT
Only Sparc uses unique_id, so remove it for FDT builds and shrink struct property a bit making the unflattened DT less of a memory hog. Tested-by: Nicolas Pitre <nico@linaro.org> Reviewed-by: Frank Rowand <frowand.list@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Rob Herring <robh@kernel.org>hifive-unleashed-5.1
parent
bd82bbf38c
commit
36689ecd2c
|
@ -38,7 +38,9 @@ struct property {
|
||||||
void *value;
|
void *value;
|
||||||
struct property *next;
|
struct property *next;
|
||||||
unsigned long _flags;
|
unsigned long _flags;
|
||||||
|
#if defined(CONFIG_OF_PROMTREE)
|
||||||
unsigned int unique_id;
|
unsigned int unique_id;
|
||||||
|
#endif
|
||||||
struct bin_attribute attr;
|
struct bin_attribute attr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue