ramips: ethernet: ralink: add struct fe_priv as context to fe_reset()
[openwrt/staging/hauke.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / soc_rt3050.c
index 914b81410e5c698ad7bef87ae0e686e344421e38..cdc27e056b61aef057f5584a2508a24b2dc0a0af 100644 (file)
@@ -69,7 +69,7 @@ static int rt3050_fwd_config(struct fe_priv *priv)
        return 0;
 }
 
-static void rt305x_fe_reset(void)
+static void rt305x_fe_reset(struct fe_priv *priv)
 {
        fe_reset(RT305X_RESET_FE);
 }
@@ -120,7 +120,7 @@ static void rt5350_tx_dma(struct fe_tx_dma *txd)
        txd->txd4 = 0;
 }
 
-static void rt5350_fe_reset(void)
+static void rt5350_fe_reset(struct fe_priv *priv)
 {
        fe_reset(RT305X_RESET_FE | RT305X_RESET_ESW);
 }