mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
6461384c1e
Fix compilation and usage under kernel 5.15 for the mwlwifi driver. For detailed description of changes, check individual patches. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 392f8e9d798acff3079e753dd881e272f6150d74 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robert.marko@sartura.hr>
|
|
Date: Wed, 30 Mar 2022 19:32:38 +0200
|
|
Subject: [PATCH] mwlwifi: remove MODULE_SUPPORTED_DEVICE
|
|
|
|
Kernel 5.12 finally removed all MODULE_SUPPORTED_DEVICE references and
|
|
support for it as it was never actually implemented and was safe to
|
|
drop it completely.
|
|
|
|
So, do the same in order to compile in 5.12 and newer.
|
|
|
|
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
|
|
---
|
|
hif/pcie/pcie.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- a/hif/pcie/pcie.c
|
|
+++ b/hif/pcie/pcie.c
|
|
@@ -31,7 +31,6 @@
|
|
#include "hif/pcie/rx_ndp.h"
|
|
|
|
#define PCIE_DRV_DESC "Marvell Mac80211 Wireless PCIE Network Driver"
|
|
-#define PCIE_DEV_NAME "Marvell 802.11ac PCIE Adapter"
|
|
|
|
#define MAX_WAIT_FW_COMPLETE_ITERATIONS 10000
|
|
#define CHECK_BA_TRAFFIC_TIME 300 /* msec */
|
|
@@ -1641,5 +1640,4 @@ MODULE_DESCRIPTION(PCIE_DRV_DESC);
|
|
MODULE_VERSION(PCIE_DRV_VERSION);
|
|
MODULE_AUTHOR("Marvell Semiconductor, Inc.");
|
|
MODULE_LICENSE("GPL v2");
|
|
-MODULE_SUPPORTED_DEVICE(PCIE_DEV_NAME);
|
|
MODULE_DEVICE_TABLE(pci, pcie_id_tbl);
|