summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdxcp
diff options
context:
space:
mode:
authorBob Zhou <bob.zhou@amd.com>2023-05-30 09:48:02 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 19:32:53 +0300
commit23ed8833f231a3ea36d1c352737ef6f1eadfc899 (patch)
tree4711d88ac8d9e45fc76d314ecb1e61e53231ea91 /drivers/gpu/drm/amd/amdxcp
parentb3a02e8b61c19a0380870c713bc704d7e4f9e0dd (diff)
downloadlinux-23ed8833f231a3ea36d1c352737ef6f1eadfc899.tar.xz
drm/amdxcp: fix Makefile to build amdxcp module
After drm conduct amdgpu Makefile, amdgpu.ko has been created and "amdgpu-y +=" in amdxcp Makefile isn't used. So modify amdgpu-y to amdxcp-y and build amdxcp module. Signed-off-by: Bob Zhou <bob.zhou@amd.com> Reviewed-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdxcp')
-rw-r--r--drivers/gpu/drm/amd/amdxcp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdxcp/Makefile b/drivers/gpu/drm/amd/amdxcp/Makefile
index 5e1bd70748d4..870501a4bb8c 100644
--- a/drivers/gpu/drm/amd/amdxcp/Makefile
+++ b/drivers/gpu/drm/amd/amdxcp/Makefile
@@ -20,6 +20,6 @@
# OTHER DEALINGS IN THE SOFTWARE.
#
-amdgpu-y := amdgpu_xcp_drv.o
+amdxcp-y := amdgpu_xcp_drv.o
-obj-$(CONFIG_DRM_AMDGPU) += amdgpu_xcp_drv.o
+obj-$(CONFIG_DRM_AMDGPU) += amdxcp.o