Commit 91000fdf authored by Johannes Berg's avatar Johannes Berg Committed by Luca Coelho

iwlwifi: fw: uefi: add missing include guards

We still don't use #pragma once in the kernel, but even if
we did it'd be missing. Add the missing include guards.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Fixes: 84c3c995 ("iwlwifi: move UEFI code to a separate file")
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.7fc9988ed49b.I87e300fab664047581e51fb9b02744c75320d08c@changeidSigned-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent c66ab56a
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
/* /*
* Copyright(c) 2021 Intel Corporation * Copyright(c) 2021 Intel Corporation
*/ */
#ifndef __iwl_fw_uefi__
#define __iwl_fw_uefi__
#define IWL_UEFI_OEM_PNVM_NAME L"UefiCnvWlanOemSignedPnvm" #define IWL_UEFI_OEM_PNVM_NAME L"UefiCnvWlanOemSignedPnvm"
#define IWL_UEFI_REDUCED_POWER_NAME L"UefiCnvWlanReducedPower" #define IWL_UEFI_REDUCED_POWER_NAME L"UefiCnvWlanReducedPower"
...@@ -40,3 +41,5 @@ void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len) ...@@ -40,3 +41,5 @@ void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len)
return ERR_PTR(-EOPNOTSUPP); return ERR_PTR(-EOPNOTSUPP);
} }
#endif /* CONFIG_EFI */ #endif /* CONFIG_EFI */
#endif /* __iwl_fw_uefi__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment