diff options
author | Vinod Koul <[email protected]> | 2020-11-25 11:21:55 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2020-11-26 09:55:07 +0530 |
commit | 47edc0104c61d609b0898a302267b7269d87a6af (patch) | |
tree | 1680a45ee644395dd78051d13432a9d2c8e971a1 /scripts/gdb/linux/lists.py | |
parent | 47b8520997a8ec4a1d2b322c61b59ebe078764a9 (diff) |
soundwire: qcom: Fix build failure when slimbus is module
Commit 5bd773242f75 ("soundwire: qcom: avoid dependency on
CONFIG_SLIMBUS") removed hard dependency on Slimbus for qcom driver but
it results in build failure when: CONFIG_SOUNDWIRE_QCOM=y
CONFIG_SLIMBUS=m
drivers/soundwire/qcom.o: In function `qcom_swrm_probe':
qcom.c:(.text+0xf44): undefined reference to `slimbus_bus'
Fix this by using IS_REACHABLE() in driver which is recommended to be
used with imply.
Fixes: 5bd773242f75 ("soundwire: qcom: avoid dependency on CONFIG_SLIMBUS")
Reported-by: kernel test robot <[email protected]>
Tested-by: Srinivas Kandagatla <[email protected]>
Reviewed-by: Srinivas Kandagatla <[email protected]>
Acked-by: Randy Dunlap <[email protected]> # build-tested
Link: https://lore.kernel.org/r/20201125055155.GD8403@vkoul-mobl
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions