ramips: rt3883: fix build error

The cpuport_cfg field has been renamed to port0_cfg.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34859
master
Gabor Juhos 12 years ago
parent a4e656ef24
commit c81b4475c9
  1. 2
      target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c

@ -91,7 +91,7 @@ static struct ar8327_led_cfg tew_692gr_ar8327_led_cfg = {
static struct ar8327_platform_data tew_692gr_ar8327_data = { static struct ar8327_platform_data tew_692gr_ar8327_data = {
.pad0_cfg = &tew_692gr_ar8327_pad0_cfg, .pad0_cfg = &tew_692gr_ar8327_pad0_cfg,
.pad6_cfg = &tew_692gr_ar8327_pad6_cfg, .pad6_cfg = &tew_692gr_ar8327_pad6_cfg,
.cpuport_cfg = { .port0_cfg = {
.force_link = 1, .force_link = 1,
.speed = AR8327_PORT_SPEED_1000, .speed = AR8327_PORT_SPEED_1000,
.duplex = 1, .duplex = 1,

Loading…
Cancel
Save