You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kmod-redhat-mt7921/SOURCES/9001-add-driver-version.patch

28 lines
1.4 KiB

Index: src/drivers/net/wireless/mediatek/mt76/mt7921/pci.c
===================================================================
--- src.orig/drivers/net/wireless/mediatek/mt76/mt7921/pci.c 2022-01-30 05:39:36.484691909 +0100
+++ src/drivers/net/wireless/mediatek/mt76/mt7921/pci.c 2022-01-30 05:42:27.098085136 +0100
@@ -320,3 +320,4 @@
MODULE_AUTHOR("Sean Wang <sean.wang@mediatek.com>");
MODULE_AUTHOR("Lorenzo Bianconi <lorenzo@kernel.org>");
MODULE_LICENSE("Dual BSD/GPL");
+MODULE_VERSION("4.18.0_363_dup8.5");
Index: src/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
===================================================================
--- src.orig/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c 2022-01-30 05:39:36.484691909 +0100
+++ src/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c 2022-01-30 05:42:27.100085118 +0100
@@ -2050,3 +2050,4 @@
MODULE_AUTHOR("Lorenzo Bianconi <lorenzo@kernel.org>");
MODULE_LICENSE("Dual BSD/GPL");
+MODULE_VERSION("4.18.0_363_dup8.5");
Index: src/drivers/net/wireless/mediatek/mt76/util.c
===================================================================
--- src.orig/drivers/net/wireless/mediatek/mt76/util.c 2022-01-30 05:38:51.384116649 +0100
+++ src/drivers/net/wireless/mediatek/mt76/util.c 2022-01-30 05:43:41.935380347 +0100
@@ -139,3 +139,4 @@
EXPORT_SYMBOL_GPL(__mt76_worker_fn);
MODULE_LICENSE("Dual BSD/GPL");
+MODULE_VERSION("4.18.0_363_dup8.5");