1 --- a/arch/mips/ath79/dev-eth.c
2 +++ b/arch/mips/ath79/dev-eth.c
3 @@ -331,6 +331,10 @@ static void ar934x_set_speed_ge1(int spe
7 +static void ath79_ddr_no_flush(void)
11 static void ath79_ddr_flush_ge0(void)
13 ath79_ddr_wb_flush(AR71XX_DDR_REG_FLUSH_GE0);
14 @@ -371,16 +375,6 @@ static void ar933x_ddr_flush_ge1(void)
15 ath79_ddr_wb_flush(AR933X_DDR_REG_FLUSH_GE1);
18 -static void ar934x_ddr_flush_ge0(void)
20 - ath79_ddr_wb_flush(AR934X_DDR_REG_FLUSH_GE0);
23 -static void ar934x_ddr_flush_ge1(void)
25 - ath79_ddr_wb_flush(AR934X_DDR_REG_FLUSH_GE1);
28 static struct resource ath79_eth0_resources[] = {
31 @@ -817,17 +811,16 @@ void __init ath79_register_eth(unsigned
33 pdata->reset_bit = AR934X_RESET_GE0_MAC |
34 AR934X_RESET_GE0_MDIO;
35 - pdata->ddr_flush =ar934x_ddr_flush_ge0;
36 pdata->set_speed = ar934x_set_speed_ge0;
38 pdata->reset_bit = AR934X_RESET_GE1_MAC |
39 AR934X_RESET_GE1_MDIO;
40 - pdata->ddr_flush = ar934x_ddr_flush_ge1;
41 pdata->set_speed = ar934x_set_speed_ge1;
43 pdata->switch_data = &ath79_switch_data;
46 + pdata->ddr_flush = ath79_ddr_no_flush;