Commit 45b7c732 authored by Eric Anholt's avatar Eric Anholt Committed by Greg Kroah-Hartman

staging: vc04_services: Replace "firmware" node with a compatible lookup.

This was requested by Rob Herring in DT bindings review.
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Acked-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 64b8e685
...@@ -3594,7 +3594,8 @@ static int vchiq_probe(struct platform_device *pdev) ...@@ -3594,7 +3594,8 @@ static int vchiq_probe(struct platform_device *pdev)
struct rpi_firmware *fw; struct rpi_firmware *fw;
int err; 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) { if (!fw_node) {
dev_err(&pdev->dev, "Missing firmware node\n"); dev_err(&pdev->dev, "Missing firmware node\n");
return -ENOENT; return -ENOENT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment