drm/amd: Do not include <linux/export.h> when unused
authorAndré Almeida <andrealmeid@igalia.com>
Fri, 13 Jun 2025 18:26:50 +0000 (15:26 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Jun 2025 15:53:45 +0000 (11:53 -0400)
commit6531fd55f3217b3cb8cdc41611e39ca12e095fe5
treefabff51d991b9982041b3473837f4d3d0f05bb55
parent5d14fdab4778c29cfd39e62c3ce84d232b4a7d8c
drm/amd: Do not include <linux/export.h> when unused

Fix the following compile time warning when building with W=1:

warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c