提交 425c452b 编写于 作者: J Jeff Mahoney 提交者: Alex Deucher

drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU

The DRM_AMD_ACP option doesn't have any dependencies and selects
MFD_CORE, which results in MFD_CORE=y.  Since the code is only called
from DRM_AMDGPU, it should depend on it.  Adding the dependency results
in MFD_CORE being selected as a module again if amdgpu is also a module.
Signed-off-by: NJeff Mahoney <jeffm@suse.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 9d746ab6
...@@ -2,6 +2,7 @@ menu "ACP (Audio CoProcessor) Configuration" ...@@ -2,6 +2,7 @@ menu "ACP (Audio CoProcessor) Configuration"
config DRM_AMD_ACP config DRM_AMD_ACP
bool "Enable AMD Audio CoProcessor IP support" bool "Enable AMD Audio CoProcessor IP support"
depends on DRM_AMDGPU
select MFD_CORE select MFD_CORE
select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS if PM
help help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册