diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-03-23 13:37:00 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-03-23 20:56:34 +0100 |
commit | 147b6798916d80ba6fb54cf909122ceb8e4fa09f (patch) | |
tree | 7411e89896616bf8792c88455167cb420719d46c /target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c | |
parent | c89e338fe68fd5af61b80ef37c55a657721c6542 (diff) | |
download | upstream-147b6798916d80ba6fb54cf909122ceb8e4fa09f.tar.gz upstream-147b6798916d80ba6fb54cf909122ceb8e4fa09f.tar.bz2 upstream-147b6798916d80ba6fb54cf909122ceb8e4fa09f.zip |
ramips: rename ethernet priv->device field to dev to match upstream
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c')
-rw-r--r-- | target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c index ce41b342e7..00dd45e01f 100644 --- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c +++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_mt7621.c @@ -83,7 +83,7 @@ static const u16 mt7621_reg_table[FE_REG_COUNT] = { static int mt7621_gsw_config(struct fe_priv *priv) { if (priv->mii_bus && mdiobus_get_phy(priv->mii_bus, 0x1f)) - mt7530_probe(priv->device, NULL, priv->mii_bus, 1); + mt7530_probe(priv->dev, NULL, priv->mii_bus, 1); return 0; } |