diff options
author | 2021-12-07 16:14:36 +0100 | |
---|---|---|
committer | 2021-12-07 20:18:06 +0200 | |
commit | 977df8bd5844c9370c26a9477418165b870da27c (patch) | |
tree | 1a0ea63fbe1294bf1ceebaabd25f4cd49831f808 /drivers/net/wireless/intel/iwlwifi/iwl-drv.c | |
parent | iwlwifi: mvm: optionally suppress assert log (diff) | |
download | linux-dev-977df8bd5844c9370c26a9477418165b870da27c.tar.xz linux-dev-977df8bd5844c9370c26a9477418165b870da27c.zip |
iwlwifi: work around reverse dependency on MEI
If the iwlmei code is a loadable module, the main iwlwifi driver
cannot be built-in:
x86_64-linux-ld: drivers/net/wireless/intel/iwlwifi/pcie/trans.o: in function `iwl_pcie_prepare_card_hw':
trans.c:(.text+0x4158): undefined reference to `iwl_mei_is_connected'
Unfortunately, Kconfig enforces the opposite, forcing the MEI driver to
not be built-in if iwlwifi is a module.
To work around this, decouple iwlmei from iwlwifi and add the
dependency in the other direction.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211207151447.3338818-1-arnd@kernel.org
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-drv.c')
0 files changed, 0 insertions, 0 deletions