qca-ssdk: fix build with linux kernel 6.12.48+

This commit is contained in:
coolsnowwolf 2025-10-09 18:23:18 +08:00
parent a7ecc6bae4
commit 76eef31042
2 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=qca-ssdk
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://github.com/openwrt/qca-ssdk.git
PKG_SOURCE_PROTO:=git

View File

@ -0,0 +1,11 @@
--- a/src/hsl/phy/qca808x.c
+++ b/src/hsl/phy/qca808x.c
@@ -600,7 +600,7 @@
return err;
}
-int qca808x_match_phy_device(struct phy_device *phydev)
+int qca808x_match_phy_device(struct phy_device *phydev, const struct phy_driver *phydrv)
{
a_uint32_t phy_id = 0;