linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/6] staging: vc04_services: Replace "firmware" node with a compatible lookup.
@ 2018-03-09 18:44 Eric Anholt
  2018-03-09 18:44 ` [PATCH v3 2/6] staging: vc04_services: Remove cache-line-size property (v3) Eric Anholt
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Eric Anholt @ 2018-03-09 18:44 UTC (permalink / raw)
  To: Florian Fainelli, Mark Rutland, Rob Herring, devicetree,
	Greg Kroah-Hartman, Phil Elwell
  Cc: linux-rpi-kernel, linux-arm-kernel, linux-kernel, Stefan Wahren,
	bcm-kernel-feedback-list, Eric Anholt

This was requested by Rob Herring in DT bindings review.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
---

v2: new patch
v3: no changes

 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
index f5cefda49b22..8068c0308b34 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
@@ -3594,7 +3594,8 @@ static int vchiq_probe(struct platform_device *pdev)
 	struct rpi_firmware *fw;
 	int err;
 
-	fw_node = of_parse_phandle(pdev->dev.of_node, "firmware", 0);
+	fw_node = of_find_compatible_node(NULL, NULL,
+					  "raspberrypi,bcm2835-firmware");
 	if (!fw_node) {
 		dev_err(&pdev->dev, "Missing firmware node\n");
 		return -ENOENT;
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-03-18 12:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09 18:44 [PATCH v3 1/6] staging: vc04_services: Replace "firmware" node with a compatible lookup Eric Anholt
2018-03-09 18:44 ` [PATCH v3 2/6] staging: vc04_services: Remove cache-line-size property (v3) Eric Anholt
2018-03-09 18:44 ` [PATCH v3 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services. (v3) Eric Anholt
2018-03-09 20:31   ` Stefan Wahren
2018-03-09 20:44     ` Eric Anholt
2018-03-18 12:48   ` Rob Herring
2018-03-09 18:44 ` [PATCH v3 4/6] ARM: dts: bcm2835: Add VCHIQ node to the Raspberry Pi boards. (v3) Eric Anholt
2018-03-09 18:44 ` [PATCH v3 5/6] staging: vc04_services: Mark the "DT bindings" job done Eric Anholt
2018-03-09 18:44 ` [PATCH v3 6/6] staging: vc04_services: Remove vchiq_queue_bulk_{transmit,receive} Eric Anholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).