mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
qca-ssdk: fix rtl826xb PHY driver compilation with gcc13
Fix return type mismatch in phy_common_general_reg_mmd_set function for gcc13 compatibility. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/src/hsl/phy/rtl826xb_phy.c
|
||||
+++ b/src/hsl/phy/rtl826xb_phy.c
|
||||
@@ -127,7 +127,7 @@ phy_common_general_reg_mmd_get(a_uint32_
|
||||
* Note:
|
||||
* None
|
||||
*/
|
||||
-a_int32_t
|
||||
+sw_error_t
|
||||
phy_common_general_reg_mmd_set(a_uint32_t unit, a_uint32_t port, a_uint16_t mmdAddr, a_uint16_t mmdReg, a_uint16_t data)
|
||||
{
|
||||
/* temporary support C45 only */
|
||||
Reference in New Issue
Block a user