]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU
authorJeff Mahoney <jeffm@suse.com>
Tue, 24 May 2016 17:47:44 +0000 (13:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 May 2016 13:44:15 +0000 (09:44 -0400)
commitdab46002f0a8f66d9d3c53a5195f72351f5d838f
tree751c8a23e3ad5d0badbd62ad4c71da4240da5764
parenta61a71d876d0da3bbe4c104f11bd019f9c5877bb
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: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/acp/Kconfig