diff options
| author | André Almeida <[email protected]> | 2025-06-13 18:26:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-30 15:53:51 +0000 |
| commit | 28472374291c380c22f40deec07a90d09bcbffb6 (patch) | |
| tree | 88ff4bac92fcea67ed5aefa68dd4aa29c36266ed /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd: Do not include <linux/export.h> when unused (diff) | |
| download | kernel-28472374291c380c22f40deec07a90d09bcbffb6.tar.gz kernel-28472374291c380c22f40deec07a90d09bcbffb6.zip | |
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 <[email protected]>
Signed-off-by: André Almeida <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c index 3ac52d9b9d30..a0fc4bec5746 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c @@ -32,6 +32,7 @@ #include <linux/list.h> #include <linux/slab.h> #include <linux/dma-buf.h> +#include <linux/export.h> #include <drm/drm_drv.h> #include <drm/amdgpu_drm.h> |
