Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1175040 > unrolled thread

Re: [PATCH v1 03/10] mfd: Have child devices point to their firmware nodes

Started byLee Jones <lee.jones@linaro.org>
First post2015-07-01 09:40 +0200
Last post2015-07-01 09:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v1 03/10] mfd: Have child devices point to their firmware  nodes Lee Jones <lee.jones@linaro.org> - 2015-07-01 09:40 +0200

#1175040 — Re: [PATCH v1 03/10] mfd: Have child devices point to their firmware nodes

FromLee Jones <lee.jones@linaro.org>
Date2015-07-01 09:40 +0200
SubjectRe: [PATCH v1 03/10] mfd: Have child devices point to their firmware nodes
Message-ID<pHkMF-2aU-11@gated-at.bofh.it>
On Tue, 30 Jun 2015, Tomeu Vizoso wrote:

> This is needed by platform-independent code that needs to do something
> with devices based on the data provided by the firmware.
> 
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
> ---
> 
>  drivers/mfd/mfd-core.c | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Lee Jones <lee.jones@linaro.org>

> diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
> index 14fd5cb..e2422ea 100644
> --- a/drivers/mfd/mfd-core.c
> +++ b/drivers/mfd/mfd-core.c
> @@ -158,6 +158,7 @@ static int mfd_add_device(struct device *parent, int id,
>  		for_each_child_of_node(parent->of_node, np) {
>  			if (of_device_is_compatible(np, cell->of_compatible)) {
>  				pdev->dev.of_node = np;
> +				pdev->dev.fwnode = &pdev->dev.of_node->fwnode;
>  				break;
>  			}
>  		}

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web