diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2021-06-18 10:01:20 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2021-06-22 15:57:56 +0200 |
commit | 12236e9af903f7a36f24d24a9b70ba8f8e2859e4 (patch) | |
tree | a0d51f289a778a3a59141069441ac7f19fdc1223 /drivers/dma/mmp_tdma.c | |
parent | iwlwifi: pcie: free some DMA memory earlier (diff) | |
download | linux-12236e9af903f7a36f24d24a9b70ba8f8e2859e4.tar.xz linux-12236e9af903f7a36f24d24a9b70ba8f8e2859e4.zip |
iwlwifi: fix NUM_IWL_UCODE_TLV_* definitions to avoid sparse errors
We were assigning these macros manually when sparse is running, but
with newer versions of sparse, it started causing other warnings. Fix
it by making it a macro when sparse is running.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618105614.dc658639e07f.I69ab6d59ff10c55c8517621eb20a52194dc4783a@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/dma/mmp_tdma.c')
0 files changed, 0 insertions, 0 deletions