]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: acpi: make iwl_guid static
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Aug 2025 08:25:48 +0000 (11:25 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sun, 31 Aug 2025 11:39:25 +0000 (14:39 +0300)
This variable is now only used in the same file, so there's
no need to expose it. Make it static.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250828111032.83ec118cd1fb.I50c8e86fb786488f97e1ff2e115c4166c6b9bee1@changeid
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
drivers/net/wireless/intel/iwlwifi/fw/acpi.h

index bee7d92293b8d69e43e5ef3892e0b9f9e9281d52..0bfc7a40d5a6543ec9b958046d460831121fbf80 100644 (file)
@@ -9,9 +9,9 @@
 #include "acpi.h"
 #include "fw/runtime.h"
 
-const guid_t iwl_guid = GUID_INIT(0xF21202BF, 0x8F78, 0x4DC6,
-                                 0xA5, 0xB3, 0x1F, 0x73,
-                                 0x8E, 0x28, 0x5A, 0xDE);
+static const guid_t iwl_guid = GUID_INIT(0xF21202BF, 0x8F78, 0x4DC6,
+                                        0xA5, 0xB3, 0x1F, 0x73,
+                                        0x8E, 0x28, 0x5A, 0xDE);
 
 static const size_t acpi_dsm_size[DSM_FUNC_NUM_FUNCS] = {
        [DSM_FUNC_QUERY] =                      sizeof(u32),
index 68d8fb5f6357e911c092f2631dadf7030ad6b6e8..20bc6671f4eb275cec7e736e96226bb46eb76fc4 100644 (file)
@@ -140,8 +140,6 @@ struct iwl_dsm_internal_product_reset_cmd {
 
 struct iwl_fw_runtime;
 
-extern const guid_t iwl_guid;
-
 union acpi_object *iwl_acpi_get_dsm_object(struct device *dev, int rev,
                                           int func, union acpi_object *args,
                                           const guid_t *guid);