package/wilc-driver: fix build with Linux 6.13
PATCH 1/1 package/wilc-driver: fix build with Linux 6.13
Add local patch pending upstream to fix build with Linux 6.13
Signed-off-by Giulio Benetti <[email protected]>
--- ...cfg80211.c-fix-build-with-Linux-6.13.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/wilc-driver/0011-cfg80211.c-fix-build-with-Linux-6.13.patch
package/wilc-driver/0011-cfg80211.c-fix-build-with-Linux-6.13.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 446911a48cd1a2c740b43a32d0ffa6e3f1887e84 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti <[email protected]> +Date: Sat, 26 Apr 2025 00:40:43 +0200 +Subject: [PATCH] cfg80211.c: fix build with Linux 6.13 + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/8 +Signed-off-by: Giulio Benetti <[email protected]> +--- + cfg80211.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/cfg80211.c b/cfg80211.c +index 25da3a1..d0cd826 100644 +--- a/cfg80211.c ++++ b/cfg80211.c +@@ -291,6 +291,9 @@ struct wilc_vif *wilc_get_wl_to_vif(struct wilc *wl) + } + + static int set_channel(struct wiphy *wiphy, ++#if KERNEL_VERSION(6, 13, 0) <= LINUX_VERSION_CODE ++ struct net_device *netdev, ++#endif + struct cfg80211_chan_def *chandef) + { + struct wilc *wl = wiphy_priv(wiphy); +-- +2.39.5 +
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 7 lines · On Sat, 26 Apr 2025 00:43:49 +0200 Giulio Benetti…
Add local patch pending upstream to fix build with Linux 6.13
Signed-off-by Giulio Benetti <[email protected]>--- ...cfg80211.c-fix-build-with-Linux-6.13.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/wilc-driver/0011-cfg80211.c-fix-build-with-Linux-6.13.patch
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot