brcm2708: add support for 3.10 kernel
[15.05/openwrt.git] / target / linux / brcm2708 / patches-3.10 / 016-amba-pl011-fifosize.patch
1 diff -urN linux-3.10/drivers/tty/serial/amba-pl011.c linux-rpi-3.10.y/drivers/tty/serial/amba-pl011.c
2 --- linux-3.10/drivers/tty/serial/amba-pl011.c  2013-06-30 23:13:29.000000000 +0100
3 +++ linux-rpi-3.10.y/drivers/tty/serial/amba-pl011.c    2013-07-06 15:25:50.000000000 +0100
4 @@ -84,7 +84,7 @@
5  
6  static unsigned int get_fifosize_arm(unsigned int periphid)
7  {
8 -       unsigned int rev = (periphid >> 20) & 0xf;
9 +       unsigned int rev = 0; //(periphid >> 20) & 0xf;
10         return rev < 3 ? 16 : 32;
11  }
12