soc: mediatek: Kconfig: Add MTK_CMDQ dependency to MTK_MMSYS
The mtk-mmsys and mutex drivers do have a dependency on MTK_CMDQ, even though both can work with *or* without it: since CMDQ support can be enabled either as module or as built-in, it is necessary to add a depends rule in Kconfig, so that we disallow building both mtk-mmsys and mtk-mutex as built-in if mtk-cmdq-helper is built as a module, otherwise obvious linker issues appear. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230403093304.276418-1-angelogioacchino.delregno@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
a73a7c41de
commit
5ce5e0d08e
|
@ -76,6 +76,7 @@ config MTK_MMSYS
|
|||
tristate "MediaTek MMSYS Support"
|
||||
default ARCH_MEDIATEK
|
||||
depends on HAS_IOMEM
|
||||
depends on MTK_CMDQ || MTK_CMDQ=n
|
||||
help
|
||||
Say yes here to add support for the MediaTek Multimedia
|
||||
Subsystem (MMSYS).
|
||||
|
|
Loading…
Reference in New Issue