diff options
author | Wenpeng Liang <liangwenpeng@huawei.com> | 2021-06-16 18:01:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-16 12:34:07 -0700 |
commit | 775f25479df924611fc482a602d147a43ac93702 (patch) | |
tree | 4fe073b8cbb419d833db63696177631bcfaa0d85 /drivers/net/phy/dp83640.c | |
parent | net: qualcomm: rmnet: Remove some unneeded casts (diff) | |
download | linux-dev-775f25479df924611fc482a602d147a43ac93702.tar.xz linux-dev-775f25479df924611fc482a602d147a43ac93702.zip |
net: phy: change format of some declarations
Add a blank line after declarations, change the order of them and put the
assignments and declarations together.
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/dp83640.c')
-rw-r--r-- | drivers/net/phy/dp83640.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/dp83640.c b/drivers/net/phy/dp83640.c index 0d79f68f301c..10769bfb1298 100644 --- a/drivers/net/phy/dp83640.c +++ b/drivers/net/phy/dp83640.c @@ -615,6 +615,7 @@ static void prune_rx_ts(struct dp83640_private *dp83640) static void enable_broadcast(struct phy_device *phydev, int init_page, int on) { int val; + phy_write(phydev, PAGESEL, 0); val = phy_read(phydev, PHYCR2); if (on) |