mirror of https://github.com/hak5/openwrt-owl.git
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;
|