From: André Almeida Date: Fri, 13 Jun 2025 18:26:50 +0000 (-0300) Subject: drm/amd: Do not include when unused X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6531fd55f3217b3cb8cdc41611e39ca12e095fe5;p=thirdparty%2Fkernel%2Flinux.git drm/amd: Do not include when unused Fix the following compile time warning when building with W=1: warning: EXPORT_SYMBOL() is not used, but #include is present Acked-by: Christian König Signed-off-by: André Almeida Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c index 8179d0814db99..57101d24422f2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c @@ -24,7 +24,6 @@ * Alex Deucher */ -#include #include #include diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c index a2149afa5803e..828a9ceef1e76 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c @@ -22,7 +22,6 @@ */ #include -#include #include #include #include diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c b/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c index dbcb60eb54b24..1d170dc50df33 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c @@ -23,7 +23,6 @@ */ #include -#include #include #include #include