]> git.baikalelectronics.ru Git - kernel.git/commit
net: wwan: Fix WWAN config symbols
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 14 Jun 2021 16:56:36 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jun 2021 20:17:10 +0000 (13:17 -0700)
commita818575f779e3902d94a3f7282aed043b8080c15
tree7a4641d1559eaa9b32b7f6e5c6e2c9a0dab989ae
parent2eb59a335c0f9dbbd6d3e860da91cba9c5ea3aba
net: wwan: Fix WWAN config symbols

There is not strong reason to have both WWAN and WWAN_CORE symbols,
Let's build the WWAN core framework when WWAN is selected, in the
same way as for other subsystems.

This fixes issue with mhi_net selecting WWAN_CORE without WWAN and
reported by kernel test robot:

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for WWAN_CORE
   Depends on NETDEVICES && WWAN
   Selected by
   - MHI_NET && NETDEVICES && NET_CORE && MHI_BUS

Fixes: 1cdc26c57346 ("net: Add a WWAN subsystem")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/wwan/Kconfig
drivers/net/wwan/Makefile