dev_set_threaded() was added into kernel 5.12, but it is only exported since kernel 5.13 and commit 8f64860f8b56 ("net: export dev_set_threaded symbol") Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- patches/0101-net_device-threaded/mt76.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/0101-net_device-threaded/mt76.patch b/patches/0101-net_device-threaded/mt76.patch index 81d5180d..615d78f0 100644 --- a/patches/0101-net_device-threaded/mt76.patch +++ b/patches/0101-net_device-threaded/mt76.patch @@ -4,7 +4,7 @@ DEFINE_DEBUGFS_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n"); -+#if LINUX_VERSION_IS_GEQ(5,12,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) static int mt76_napi_threaded_set(void *data, u64 val) { @@ -20,7 +20,7 @@ debugfs_create_u8("led_pin", 0600, dir, &dev->led_pin); debugfs_create_u32("regidx", 0600, dir, &dev->debugfs_reg); debugfs_create_file_unsafe("regval", 0600, dir, dev, fops); -+#if LINUX_VERSION_IS_GEQ(5,12,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) debugfs_create_file_unsafe("napi_threaded", 0600, dir, dev, &fops_napi_threaded); +#endif @@ -33,7 +33,7 @@ init_dummy_netdev(&dev->tx_napi_dev); snprintf(dev->napi_dev.name, sizeof(dev->napi_dev.name), "%s", wiphy_name(dev->hw->wiphy)); -+#if LINUX_VERSION_IS_GEQ(5,12,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) dev->napi_dev.threaded = 1; +#endif -- 2.30.2 -- To unsubscribe from this list: send the line "unsubscribe backports" in