5aa390ec43c2ad35472f2f813c161909816c06c3
[openwrt/staging/yousong.git] / target / linux / lantiq / patches-3.7 / 0125-falcon-pad.patch
1 Index: linux-3.7-rc8/drivers/pinctrl/pinctrl-falcon.c
2 ===================================================================
3 --- linux-3.7-rc8.orig/drivers/pinctrl/pinctrl-falcon.c 2012-12-03 20:22:37.000000000 +0100
4 +++ linux-3.7-rc8/drivers/pinctrl/pinctrl-falcon.c 2012-12-16 10:57:21.454809078 +0100
5 @@ -398,6 +398,9 @@
6 u32 avail;
7 int pins;
8
9 + if (!of_device_is_available(np))
10 + continue;
11 +
12 if (!ppdev) {
13 dev_err(&pdev->dev, "failed to find pad pdev\n");
14 continue;