cns3xxx: backport laguna UART setup crash fix from r33719, r33721
authorFelix Fietkau <nbd@openwrt.org>
Fri, 1 Mar 2013 11:22:27 +0000 (11:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 1 Mar 2013 11:22:27 +0000 (11:22 +0000)
SVN-Revision: 35839

target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch

index b42606b5082e26858eca3df73863c09bf449cad3..13d029c58bb38a1574320bbc940bf87b3301b925 100644 (file)
@@ -1,6 +1,6 @@
 --- /dev/null
 +++ b/arch/arm/mach-cns3xxx/laguna.c
-@@ -0,0 +1,935 @@
+@@ -0,0 +1,936 @@
 +/*
 + * Gateworks Corporation Laguna Platform
 + *
 +              .uartclk        = 24000000,
 +              .type           = PORT_16550A,
 +      },
++      { }
 +};
 +
 +static struct platform_device laguna_uart = {
index c5de35fe427ca1064d4617f93e90ccea07cfab90..220980f51596f51a83729293e0aeec767a900e3a 100644 (file)
  #include <asm/hardware/gic.h>
  #include "core.h"
  #include "devices.h"
-@@ -759,6 +760,10 @@ static int __init laguna_model_setup(voi
+@@ -760,6 +761,10 @@ static int __init laguna_model_setup(voi
        u8 pcie_bitmap = 0;
  
        printk("Running on Gateworks Laguna %s\n", laguna_info.model);