summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-06-11 09:13:54 -0700
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-06-23 07:28:33 -0700
commit3abe2740e50f86401aa3518e9b69c6abefaa020a (patch)
tree73bf77670bb4431f1e00fda3657fa2b1032e4ff4
parent7c0884fcd2ddde0544d2e77f297ae461e1f53f58 (diff)
wifi: ath: Add missing include of export.h
Commit a934a57a42f6 ("scripts/misc-check: check missing #include <linux/export.h> when W=1") introduced a new check that is producing the following warning: drivers/net/wireless/ath/main.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing Add the missing #include to satisfy the check. Link: https://patch.msgid.link/20250611-ath-unused-export-v1-1-c36819df7e7b@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/main.c b/drivers/net/wireless/ath/main.c
index 89f4b0513946..d79d73738a81 100644
--- a/drivers/net/wireless/ath/main.c
+++ b/drivers/net/wireless/ath/main.c
@@ -16,6 +16,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/module.h>