From: eric@anholt.net (Eric Anholt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/6] staging: vc04_services: Replace "firmware" node with a compatible lookup.
Date: Wed, 7 Mar 2018 10:57:11 -0800 [thread overview]
Message-ID: <20180307185716.17449-1-eric@anholt.net> (raw)
This was requested by Rob Herring in DT bindings review.
Signed-off-by: Eric Anholt <eric@anholt.net>
---
v2: new patch
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
next reply other threads:[~2018-03-07 18:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 18:57 Eric Anholt [this message]
2018-03-07 18:57 ` [PATCH v2 2/6] staging: vc04_services: Add comments describing g_cache_line_size Eric Anholt
2018-03-07 18:57 ` [PATCH v2 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services Eric Anholt
2018-03-07 20:00 ` Rob Herring
2018-03-08 20:15 ` Eric Anholt
2018-03-08 23:23 ` Rob Herring
2018-03-08 12:18 ` Sudeep Holla
2018-03-07 18:57 ` [PATCH v2 4/6] ARM: dts: bcm2835: Add VCHIQ node to the Raspberry Pi boards Eric Anholt
2018-03-07 18:57 ` [PATCH v2 5/6] staging: vc04_services: Mark the "DT bindings" job done Eric Anholt
2018-03-07 18:57 ` [PATCH v2 6/6] staging: vc04_services: Remove vchiq_queue_bulk_{transmit, receive} Eric Anholt
2018-03-08 19:30 ` [PATCH v2 1/6] staging: vc04_services: Replace "firmware" node with a compatible lookup Stefan Wahren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180307185716.17449-1-eric@anholt.net \
--to=eric@anholt.net \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox