Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36689ecd authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarNicolas Pitre <nico@linaro.org>
Reviewed-by: default avatarFrank Rowand <frowand.list@gmail.com>
Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent bd82bbf3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -38,7 +38,9 @@ struct property {
	void	*value;
	struct property *next;
	unsigned long _flags;
#if defined(CONFIG_OF_PROMTREE)
	unsigned int unique_id;
#endif
	struct bin_attribute attr;
};