Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/wilc-driver: fix build with Linux 6.13
@ 2025-04-25 22:43 Giulio Benetti
  2025-05-17  9:56 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Giulio Benetti @ 2025-04-25 22:43 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Kris Bahnsen

Add local patch pending upstream to fix build with Linux 6.13

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 ...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

diff --git a/package/wilc-driver/0011-cfg80211.c-fix-build-with-Linux-6.13.patch b/package/wilc-driver/0011-cfg80211.c-fix-build-with-Linux-6.13.patch
new file mode 100644
index 0000000000..6d26b20a5c
--- /dev/null
+++ b/package/wilc-driver/0011-cfg80211.c-fix-build-with-Linux-6.13.patch
@@ -0,0 +1,28 @@
+From 446911a48cd1a2c740b43a32d0ffa6e3f1887e84 Mon Sep 17 00:00:00 2001
+From: Giulio Benetti <giulio.benetti@benettiengineering.com>
+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 <giulio.benetti@benettiengineering.com>
+---
+ 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
+
-- 
2.39.5

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-17  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25 22:43 [Buildroot] [PATCH] package/wilc-driver: fix build with Linux 6.13 Giulio Benetti
2025-05-17  9:56 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox