ramips: rt3883: fix build error
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 22 Dec 2012 13:50:47 +0000 (13:50 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 22 Dec 2012 13:50:47 +0000 (13:50 +0000)
The cpuport_cfg field has been renamed to port0_cfg.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34859 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c

index 68c17a2..59b520a 100644 (file)
@@ -91,7 +91,7 @@ static struct ar8327_led_cfg tew_692gr_ar8327_led_cfg = {
 static struct ar8327_platform_data tew_692gr_ar8327_data = {
        .pad0_cfg = &tew_692gr_ar8327_pad0_cfg,
        .pad6_cfg = &tew_692gr_ar8327_pad6_cfg,
-       .cpuport_cfg = {
+       .port0_cfg = {
                .force_link = 1,
                .speed = AR8327_PORT_SPEED_1000,
                .duplex = 1,