diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-06-14 19:56:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-14 23:17:10 +0300 |
commit | 89212e160b81e778f829b89743570665810e3b13 (patch) | |
tree | 7a4641d1559eaa9b32b7f6e5c6e2c9a0dab989ae /drivers/net/wwan/Makefile | |
parent | ec13357263fb672390250fcfaa4c86b6dce66062 (diff) | |
download | linux-89212e160b81e778f829b89743570665810e3b13.tar.xz |
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: 9a44c1cc6388 ("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>
Diffstat (limited to 'drivers/net/wwan/Makefile')
-rw-r--r-- | drivers/net/wwan/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wwan/Makefile b/drivers/net/wwan/Makefile index 3e565d3f984f..83dd3482ffc3 100644 --- a/drivers/net/wwan/Makefile +++ b/drivers/net/wwan/Makefile @@ -3,7 +3,7 @@ # Makefile for the Linux WWAN device drivers. # -obj-$(CONFIG_WWAN_CORE) += wwan.o +obj-$(CONFIG_WWAN) += wwan.o wwan-objs += wwan_core.o obj-$(CONFIG_WWAN_HWSIM) += wwan_hwsim.o |