From: Rob Herring Date: Sat, 30 Sep 2017 01:08:28 +0000 (-0500) Subject: of: remove struct property.unique_id for FDT X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=36689ecd2c065a8879035e5bf1b4a0f4d5b65160;p=linux.git 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 Reviewed-by: Frank Rowand Acked-by: Grant Likely Signed-off-by: Rob Herring --- diff --git a/include/linux/of.h b/include/linux/of.h index cfc34117fc920..8f9e967528375 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -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; };