X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/32dec7075aae5cc6ef1e4394dc94fed1767b848e..de950268134cc6c5ac25a650c1809859a9d99637:/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c index 13a17db47..35f216582 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c @@ -12,8 +12,7 @@ #include #include #include -#include -#include +#include #include #include @@ -214,7 +213,7 @@ static struct platform_device wzrhpg300nh_74hc153_device = { } }; -static struct rtl8366s_platform_data wzrhpg300nh_rtl8366s_data = { +static struct rtl8366_platform_data wzrhpg300nh_rtl8366_data = { .gpio_sda = WZRHPG300NH_GPIO_RTL8366_SDA, .gpio_sck = WZRHPG300NH_GPIO_RTL8366_SCK, }; @@ -223,20 +222,15 @@ static struct platform_device wzrhpg300nh_rtl8366s_device = { .name = RTL8366S_DRIVER_NAME, .id = -1, .dev = { - .platform_data = &wzrhpg300nh_rtl8366s_data, + .platform_data = &wzrhpg300nh_rtl8366_data, } }; -static struct rtl8366rb_platform_data wzrhpg301nh_rtl8366rb_data = { - .gpio_sda = WZRHPG300NH_GPIO_RTL8366_SDA, - .gpio_sck = WZRHPG300NH_GPIO_RTL8366_SCK, -}; - static struct platform_device wzrhpg301nh_rtl8366rb_device = { .name = RTL8366RB_DRIVER_NAME, .id = -1, .dev = { - .platform_data = &wzrhpg301nh_rtl8366rb_data, + .platform_data = &wzrhpg300nh_rtl8366_data, } };