diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-09-04 23:37:29 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-09-05 22:09:03 +0200 |
commit | 0f7c5317b89058e432d3e97efa19467ff4c3b86b (patch) | |
tree | 4595c7c1eab08cf86e5c1022fb2f14a38a47f210 /drivers/of/base.c | |
parent | Merge branch 'sfc-TXQ-refactor' (diff) | |
download | linux-0f7c5317b89058e432d3e97efa19467ff4c3b86b.tar.xz linux-0f7c5317b89058e432d3e97efa19467ff4c3b86b.zip |
of: Export of_remove_property() to modules
We will need to remove some OF properties in drivers/net/dsa/bcm_sf2.c
with a subsequent commit. Export of_remove_property() to modules so we
can keep bcm_sf2 modular and provide an empty stub for when CONFIG_OF is
disabled to maintain the ability to compile test.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r-- | drivers/of/base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index ea44fea99813..161a23631472 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1869,6 +1869,7 @@ int of_remove_property(struct device_node *np, struct property *prop) return rc; } +EXPORT_SYMBOL_GPL(of_remove_property); int __of_update_property(struct device_node *np, struct property *newprop, struct property **oldpropp) |