backport rtl8366 detection support from trunk
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-wndr3700.c
index 68839505eef5ab5af6425599bddb66810a0bb58a..7d66d22f473a6c99eee75796072abf53844a0e41 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/delay.h>
-#include <linux/rtl8366s.h>
+#include <linux/rtl8366.h>
 
 #include <asm/mach-ar71xx/ar71xx.h>
 
@@ -201,7 +201,7 @@ static struct gpio_button wndr3700_gpio_buttons[] __initdata = {
        }
 };
 
-static struct rtl8366s_platform_data wndr3700_rtl8366s_data = {
+static struct rtl8366_platform_data wndr3700_rtl8366s_data = {
        .gpio_sda        = WNDR3700_GPIO_RTL8366_SDA,
        .gpio_sck        = WNDR3700_GPIO_RTL8366_SCK,
 };