rtl8366: unify rtl8366s and rtl8366rb platform data
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tl-wr1043nd.c
index 1cf01684863b0ba66f9d4d677f084442220375e2..77262d73945a13b2d84586d8e0978495b200d776 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/platform_device.h>
-#include <linux/rtl8366rb.h>
+#include <linux/rtl8366.h>
 #include <asm/mach-ar71xx/ar71xx.h>
 
 #include "machtype.h"
@@ -109,7 +109,7 @@ static struct gpio_keys_button tl_wr1043nd_gpio_keys[] __initdata = {
        }
 };
 
-static struct rtl8366rb_platform_data tl_wr1043nd_rtl8366rb_data = {
+static struct rtl8366_platform_data tl_wr1043nd_rtl8366rb_data = {
        .gpio_sda        = TL_WR1043ND_GPIO_RTL8366_SDA,
        .gpio_sck        = TL_WR1043ND_GPIO_RTL8366_SCK,
 };