mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
dpaa_eth: don't use fixed_phy_change_carrier
This effectively reverts 6e8b0ff1ba ("dpaa_eth: Add change_carrier()
for Fixed PHYs"). Usage of fixed_phy_change_carrier() requires that
fixed_phy_register() has been called before, directly or indirectly.
And that's not the case in this driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/7eb189b3-d5fd-4be6-8517-a66671a4e4e3@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
e0e3265acf
commit
d8155c1df5
|
|
@ -28,7 +28,6 @@
|
|||
#include <linux/percpu.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/sort.h>
|
||||
#include <linux/phy_fixed.h>
|
||||
#include <linux/bpf.h>
|
||||
#include <linux/bpf_trace.h>
|
||||
#include <soc/fsl/bman.h>
|
||||
|
|
@ -3150,7 +3149,6 @@ static const struct net_device_ops dpaa_ops = {
|
|||
.ndo_stop = dpaa_eth_stop,
|
||||
.ndo_tx_timeout = dpaa_tx_timeout,
|
||||
.ndo_get_stats64 = dpaa_get_stats64,
|
||||
.ndo_change_carrier = fixed_phy_change_carrier,
|
||||
.ndo_set_mac_address = dpaa_set_mac_address,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_set_rx_mode = dpaa_set_rx_mode,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user