ramips: initial support for Sitecom WL-351 v1 002
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt288x / mach-rt-n15.c
index 1af3efc..18d5337 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
-#include <linux/rtl8366s.h>
+#include <linux/rtl8366.h>
 #include <linux/ethtool.h>
 
 #include <asm/mach-ralink/machine.h>
@@ -54,13 +54,13 @@ static struct mtd_partition rt_n15_partitions[] = {
        }, {
                .name   = "kernel",
                .offset = 0x050000,
-               .size   = 0x0b0000,
+               .size   = 0x0d0000,
        }, {
                .name   = "rootfs",
-               .offset = 0x100000,
-               .size   = 0x300000,
+               .offset = 0x120000,
+               .size   = 0x2e0000,
        }, {
-               .name   = "openwrt",
+               .name   = "firmware",
                .offset = 0x050000,
                .size   = 0x3b0000,
        }
@@ -100,7 +100,7 @@ static struct gpio_button rt_n15_gpio_buttons[] __initdata = {
        }
 };
 
-static struct rtl8366s_platform_data rt_n15_rtl8366s_data = {
+static struct rtl8366_platform_data rt_n15_rtl8366s_data = {
        .gpio_sda        = RT_N15_GPIO_RTL8366_SDA,
        .gpio_sck        = RT_N15_GPIO_RTL8366_SCK,
 };
This page took 0.025261 seconds and 4 git commands to generate.