diff options
| author | Patrice Chotard <[email protected]> | 2022-08-02 10:55:26 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-08-08 11:37:57 -0400 |
| commit | 5bd4f31fea36cf4106d6314efd33ba49efcaeded (patch) | |
| tree | f364eb6eecd8211f8aac5190fdfa83cad5e46962 /drivers | |
| parent | acce23b8af7091354d3701638b4d06489e7c766c (diff) | |
net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32
Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid
illegal access.
Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr")
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/dwc_eth_qos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 21e9b6ab174..001b028fa13 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -1635,6 +1635,7 @@ static struct eqos_ops eqos_stm32_ops = { .eqos_calibrate_pads = eqos_null_ops, .eqos_disable_calibration = eqos_null_ops, .eqos_set_tx_clk_speed = eqos_null_ops, + .eqos_get_enetaddr = eqos_null_ops, .eqos_get_tick_clk_rate = eqos_get_tick_clk_rate_stm32 }; |
