diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2022-08-02 10:55:26 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-08 10:50:20 -0400 |
commit | d13bd631eca77b54dc0ed8e65cc1cc27586cd2f5 (patch) | |
tree | 2c2c96af93654fa70f6885584cb0b81c0f9bd6fc | |
parent | 1327084530b61960fee37da30c5d17bcff2afa56 (diff) | |
download | u-boot-WIP/2022-08-08-networking-updates.zip u-boot-WIP/2022-08-08-networking-updates.tar.gz u-boot-WIP/2022-08-08-networking-updates.tar.bz2 |
net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32WIP/2022-08-08-networking-updates
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 <patrice.chotard@foss.st.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
-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 202c089..6514123 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -1666,6 +1666,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 }; |