Re: [PATCH v2 7/9] device property: Export fwnode_get_name()

Rafael J. Wysocki
2020-02-24T16:10:06Z

On Mon, Feb 24, 2020 at 1:14 PM Heikki Krogerus
<heikki.krogerus@linux.intel.com> wrote:
>
> This makes it possible to take advantage of the function in
> the device drivers.
>
> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> drivers/base/property.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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);

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

>
> /**
> * fwnode_get_name_prefix - Return the prefix of node for printing purposes
> --
> 2.25.0
>