diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2023-02-01 14:14:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-03 10:19:40 +0100 |
commit | b46f1e5793298c67efc2f1b917350a2cefacf9d6 (patch) | |
tree | b6891da829f94c699301d06481560489db886ca5 /drivers/net/ethernet/renesas/rswitch.h | |
parent | tcp: add TCP_MINTTL drop reason (diff) | |
download | linux-b46f1e5793298c67efc2f1b917350a2cefacf9d6.tar.xz linux-b46f1e5793298c67efc2f1b917350a2cefacf9d6.zip |
net: renesas: rswitch: Simplify struct phy * handling
Simplify struct phy *serdes handling by keeping the valiable in
the struct rswitch_device.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/rswitch.h')
-rw-r--r-- | drivers/net/ethernet/renesas/rswitch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/rswitch.h b/drivers/net/ethernet/renesas/rswitch.h index 49efb0f31c77..6ae79395006e 100644 --- a/drivers/net/ethernet/renesas/rswitch.h +++ b/drivers/net/ethernet/renesas/rswitch.h @@ -953,6 +953,8 @@ struct rswitch_device { int port; struct rswitch_etha *etha; + struct device_node *np_port; + struct phy *serdes; }; struct rswitch_mfwd_mac_table_entry { |