backport rtl8366 detection support from trunk
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-dir-825-b1.c
index c1af09c27f7e446f666eaed6a18a5431eabfb66d..d9c16f70c916c9e70b11fe5c672694e461f6fc12 100644 (file)
@@ -14,7 +14,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>
 
@@ -130,11 +130,11 @@ static struct gpio_button dir825b1_gpio_buttons[] __initdata = {
        }
 };
 
-static struct rtl8366s_initval dir825b1_rtl8366s_initvals[] = {
+static struct rtl8366_initval dir825b1_rtl8366s_initvals[] = {
        { .reg = 0x06, .val = 0x0108 },
 };
 
-static struct rtl8366s_platform_data dir825b1_rtl8366s_data = {
+static struct rtl8366_platform_data dir825b1_rtl8366s_data = {
        .gpio_sda       = DIR825B1_GPIO_RTL8366_SDA,
        .gpio_sck       = DIR825B1_GPIO_RTL8366_SCK,
        .num_initvals   = ARRAY_SIZE(dir825b1_rtl8366s_initvals),