From d791ed1f5877401c5a0022600a69be3ed519df54 Mon Sep 17 00:00:00 2001 From: Ryder Lee Date: Fri, 18 Nov 2022 01:09:46 +0800 Subject: [PATCH] wifi: mt76: mt7915: add missing MODULE_PARM_DESC Add documentation for module_param so that they're visible with modinfo command. Signed-off-by: Ryder Lee Signed-off-by: Felix Fietkau --- mt7915/coredump.c | 1 + mt7915/mmio.c | 1 + 2 files changed, 2 insertions(+) diff --git a/mt7915/coredump.c b/mt7915/coredump.c index bb4b7040..d097a56d 100644 --- a/mt7915/coredump.c +++ b/mt7915/coredump.c @@ -9,6 +9,7 @@ static bool coredump_memdump; module_param(coredump_memdump, bool, 0644); +MODULE_PARM_DESC(coredump_memdump, "Optional ability to dump firmware memory"); static const struct mt7915_mem_region mt7915_mem_regions[] = { { diff --git a/mt7915/mmio.c b/mt7915/mmio.c index 3c840853..4f85bfb8 100644 --- a/mt7915/mmio.c +++ b/mt7915/mmio.c @@ -12,6 +12,7 @@ static bool wed_enable; module_param(wed_enable, bool, 0644); +MODULE_PARM_DESC(wed_enable, "Enable Wireless Ethernet Dispatch support"); static const u32 mt7915_reg[] = { [INT_SOURCE_CSR] = 0xd7010,