summaryrefslogtreecommitdiffstats
path: root/drivers/base/property.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2020-03-02 14:53:51 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-03-16 07:47:58 +0100
commit6fafbbe8d4140e44e0a64d6c914d628bdb2902ed (patch)
tree310cbda00eb8061f0dc9adcdcbc15dc4cc73da15 /drivers/base/property.c
parentmedia: imx: imx7-media-csi: Support clamping Y10 and Y12 to Y8 (diff)
downloadlinux-6fafbbe8d4140e44e0a64d6c914d628bdb2902ed.tar.xz
linux-6fafbbe8d4140e44e0a64d6c914d628bdb2902ed.zip
device property: Export fwnode_get_name()
This makes it possible to take advantage of the function in the device drivers. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/r/20200302135353.56659-8-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/property.c')
-rw-r--r--drivers/base/property.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/property.c b/drivers/base/property.c
index 511f6d7acdfe..5f35c0ccf5e0 100644
--- a/drivers/base/property.c
+++ b/drivers/base/property.c
@@ -566,6 +566,7 @@ const char *fwnode_get_name(const struct fwnode_handle *fwnode)
{
return fwnode_call_ptr_op(fwnode, get_name);
}
+EXPORT_SYMBOL_GPL(fwnode_get_name);
/**
* fwnode_get_name_prefix - Return the prefix of node for printing purposes