pwm-gpio-custom: fix compile on linux 2.6.31
[openwrt.git] / target / linux / brcm47xx / patches-2.6.34 / 211-b44_timeout_spam.patch
1 --- a/drivers/net/b44.c
2 +++ b/drivers/net/b44.c
3 @@ -188,10 +188,11 @@ static int b44_wait_bit(struct b44 *bp,
4 udelay(10);
5 }
6 if (i == timeout) {
7 +#if 0
8 if (net_ratelimit())
9 netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n",
10 bit, reg, clear ? "clear" : "set");
11 -
12 +#endif
13 return -ENODEV;
14 }
15 return 0;
This page took 0.04836 seconds and 5 git commands to generate.