ramips: rt3883: fix build error
authorGabor Juhos <juhosg@openwrt.org>
Sat, 22 Dec 2012 13:50:47 +0000 (13:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
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>
SVN-Revision: 34859

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

index 68c17a29dffa2be9e060c7487cef5ce23c4ce0f9..59b520a371fed9271eda7be169b6efca8757826a 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,