]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mac80211: Fix build of rt2800soc 19946/head
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 3 Sep 2025 18:45:02 +0000 (20:45 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 4 Sep 2025 10:08:06 +0000 (12:08 +0200)
commit65269fd3fcfb442cdbf41276404d9d045b3312a6
tree224c250d2a85ef4522674ff32e39c810f176fb89
parentc46cccde284ce15c4e6c0cb49da510acb748d238
mac80211: Fix build of rt2800soc

This fixes the following build problem:
```
/drivers/net/wireless/ralink/rt2x00/rt2800soc.c:276:27: error: initialization of 'int (*)(struct platform_device *)' from incompatible pointer type 'void (*)(struct platform_device *)' [-Werror=incompatible-pointer-types]
  276 |         .remove         = rt2x00soc_remove,
      |                           ^~~~~~~~~~~~~~~~
```

Fixes: b4b9288f2aa3 ("mac80211: Update to 6.12.44")
Link: https://github.com/openwrt/openwrt/pull/19946
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/mac80211/patches/rt2x00/997-rt2x00-use-remove_new.patch [new file with mode: 0644]