diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-06-08 19:12:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-10 06:06:54 +0300 |
commit | b5b0c7f41e73cdca59dcfc05d32c5a8be54e1546 (patch) | |
tree | effb56193126787bf2bfaa0c0b0665dd4d8e0bf1 /drivers/net/dsa/sja1105/sja1105_clocking.c | |
parent | 283da99af1d8981b1fa075e9d002222b284fea0c (diff) | |
download | linux-b5b0c7f41e73cdca59dcfc05d32c5a8be54e1546.tar.xz |
net: dsa: sja1105: Remove duplicate rgmii_pad_mii_tx from regs
The pad_mii_tx registers point to the same memory region but were
unused. So convert to using these for RGMII I/O cell configuration, as
they bear a shorter name.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_clocking.c')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105_clocking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_clocking.c b/drivers/net/dsa/sja1105/sja1105_clocking.c index 94bfe0ee50a8..5c7cea22b647 100644 --- a/drivers/net/dsa/sja1105/sja1105_clocking.c +++ b/drivers/net/dsa/sja1105/sja1105_clocking.c @@ -373,7 +373,7 @@ static int sja1105_rgmii_cfg_pad_tx_config(struct sja1105_private *priv, sja1105_cfg_pad_mii_tx_packing(packed_buf, &pad_mii_tx, PACK); return sja1105_spi_send_packed_buf(priv, SPI_WRITE, - regs->rgmii_pad_mii_tx[port], + regs->pad_mii_tx[port], packed_buf, SJA1105_SIZE_CGU_CMD); } |