summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas/rswitch.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2023-02-01 14:14:50 +0100
committerDavid S. Miller <davem@davemloft.net>2023-02-03 10:19:40 +0100
commitb46f1e5793298c67efc2f1b917350a2cefacf9d6 (patch)
treeb6891da829f94c699301d06481560489db886ca5 /drivers/net/ethernet/renesas/rswitch.h
parenttcp: add TCP_MINTTL drop reason (diff)
downloadlinux-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.h2
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 {