Messages in this thread | | | Subject | Re: [PATCH 1/2] usb: cdc-wdm: Fix check for WWAN | From | Oliver Neukum <> | Date | Thu, 30 Sep 2021 11:06:44 +0200 |
| |
On 29.09.21 15:21, Rikard Falkeborn wrote: > Commit 5c912e679506 ("usb: cdc-wdm: fix build error when CONFIG_WWAN_CORE > is not set") fixed a build error when CONFIG_WWAN was set but > CONFIG_WWAN_CORE was not. Since then CONFIG_WWAN_CORE was removed and > joined with CONFIG_WWAN in commit 89212e160b81 ("net: wwan: Fix WWAN > config symbols"). > > Also, since CONFIG_WWAN has class tri-state instead of bool, we cannot > check if it is defined directly, but have to use IS_DEFINED() instead. > > Fixes: 5c912e679506 ("usb: cdc-wdm: fix build error when CONFIG_WWAN_CORE is not set") > Cc: <stable@vger.kernel.org> > Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Acked-by: Oliver Neukum <oneukum@suse.com>
| |