staging: vc04_services: Replace "firmware" node with a compatible lookup.
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
64b8e6854e
commit
45b7c73226
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user