mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue