Openwrt/target/linux/lantiq/patches-3.7/0125-falcon-pad.patch
John Crispin 0de0955931 refresh patches
SVN-Revision: 35355
2013-01-28 17:44:20 +00:00

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;