From: Bob Zhou Date: Tue, 30 May 2023 06:48:02 +0000 (+0800) Subject: drm/amdxcp: fix Makefile to build amdxcp module X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=23ed8833f231a3ea36d1c352737ef6f1eadfc899;p=linux.git 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 Reviewed-by: James Zhu Reviewed-by: Guchun Chen Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdxcp/Makefile b/drivers/gpu/drm/amd/amdxcp/Makefile index 5e1bd70748d46..870501a4bb8c0 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