mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 21:11:47 +07:00
fc6b1f3d60
Below build failure was reported on UML, ERROR: "devm_ioremap_resource" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__ioread32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__iowrite32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "devm_ioremap" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! This patch fixes it by making qcom slimbus depend on HAS_IOMEM, as these are only defined when HAS_IOMEM is selected. Reported-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
538 B
Plaintext
25 lines
538 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# SLIMbus driver configuration
|
|
#
|
|
menuconfig SLIMBUS
|
|
tristate "SLIMbus support"
|
|
help
|
|
SLIMbus is standard interface between System-on-Chip and audio codec,
|
|
and other peripheral components in typical embedded systems.
|
|
|
|
If unsure, choose N.
|
|
|
|
if SLIMBUS
|
|
|
|
# SLIMbus controllers
|
|
config SLIM_QCOM_CTRL
|
|
tristate "Qualcomm SLIMbus Manager Component"
|
|
depends on SLIMBUS
|
|
depends on HAS_IOMEM
|
|
help
|
|
Select driver if Qualcomm's SLIMbus Manager Component is
|
|
programmed using Linux kernel.
|
|
|
|
endif
|