summaryrefslogtreecommitdiff
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-11-17 00:06:55 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-19 00:35:20 +0300
commit0c5eaa7749726b2e4667a5e3668c3eb8516e7440 (patch)
treee83bcaefddf6f9563c64b6920b2f9eb8c09bf33d /include/linux/of.h
parenta412c85aa82a5c8d585b08808aeefcd186712bb5 (diff)
downloadlinux-0c5eaa7749726b2e4667a5e3668c3eb8516e7440.tar.xz
of: Drop full path from full_name for PDT systems
Now that there are no more users of path_component_name for Sparc outside of the PDT code and all users of device_node.full_name are converted to use "%pOF" printf specifier, we can align Sparc with FDT and store just the base node name and unit address in full_name. This makes path_component_name redundant, so it can be removed. As full_name is used by printf specifiers, set it as early as possible. Cc: Frank Rowand <frowand.list@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index a5aee3c438ad..0fe5bef81a7e 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -66,7 +66,6 @@ struct device_node {
unsigned long _flags;
void *data;
#if defined(CONFIG_SPARC)
- const char *path_component_name;
unsigned int unique_id;
struct of_irq_controller *irq_trans;
#endif