drm/amd: Include <linux/export.h> when needed
authorAndré Almeida <andrealmeid@igalia.com>
Fri, 13 Jun 2025 18:26:51 +0000 (15:26 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Jun 2025 15:53:51 +0000 (11:53 -0400)
commit28472374291c380c22f40deec07a90d09bcbffb6
tree88ff4bac92fcea67ed5aefa68dd4aa29c36266ed
parent6531fd55f3217b3cb8cdc41611e39ca12e095fe5
drm/amd: Include <linux/export.h> when needed

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

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

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_object.c
drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.c