[PATCH v2 1/8] of_path: of_find_path() factor out device detection logic into separate function
Sascha Hauer
s.hauer at pengutronix.de
Tue Oct 20 23:24:47 PDT 2015
On Tue, Oct 20, 2015 at 10:39:05AM +0200, Marc Kleine-Budde wrote:
> This patch factors out the device detection logic into separate function, so
> that it can be used from another function.
>
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
> drivers/of/of_path.c | 81 ++++++++++++++++++++++++++++------------------------
> 1 file changed, 44 insertions(+), 37 deletions(-)
>
> diff --git a/drivers/of/of_path.c b/drivers/of/of_path.c
> index 992972c9b52e..b3ef26c6a50d 100644
> --- a/drivers/of/of_path.c
> +++ b/drivers/of/of_path.c
> @@ -106,6 +106,48 @@ out:
> return ret;
> }
>
> +int __of_find_path(struct device_node *node, const char *propname, char **outpath, unsigned flags)
static please.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list