diff options
author | Frank Rowand <frank.rowand@sony.com> | 2017-06-21 21:16:38 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-06-22 18:16:35 +0200 |
commit | 249969514e23b07d1872fc614bb5cfd3577bde35 (patch) | |
tree | 6dc33620ff4d0c7a9bd6ef46f2575b425e884d15 /drivers/of/dynamic.c | |
parent | of: address.c header comment typo (diff) | |
download | linux-249969514e23b07d1872fc614bb5cfd3577bde35.tar.xz linux-249969514e23b07d1872fc614bb5cfd3577bde35.zip |
of: make __of_attach_node() static
__of_attach_node() is not used outside of drivers/of/dynamic.c. Make
it static and remove it from drivers/of/of_private.h.
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/dynamic.c')
-rw-r--r-- | drivers/of/dynamic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c index 888fdbc09992..0542cf8b6e3d 100644 --- a/drivers/of/dynamic.c +++ b/drivers/of/dynamic.c @@ -216,7 +216,7 @@ int of_property_notify(int action, struct device_node *np, return of_reconfig_notify(action, &pr); } -void __of_attach_node(struct device_node *np) +static void __of_attach_node(struct device_node *np) { const __be32 *phandle; int sz; |