mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
0de0955931
SVN-Revision: 35355
13 lines
305 B
Diff
13 lines
305 B
Diff
--- a/drivers/pinctrl/pinctrl-falcon.c
|
|
+++ b/drivers/pinctrl/pinctrl-falcon.c
|
|
@@ -398,6 +398,9 @@ static int pinctrl_falcon_probe(struct p
|
|
u32 avail;
|
|
int pins;
|
|
|
|
+ if (!of_device_is_available(np))
|
|
+ continue;
|
|
+
|
|
if (!ppdev) {
|
|
dev_err(&pdev->dev, "failed to find pad pdev\n");
|
|
continue;
|