Skip to content

Commit 2847237

Browse files
andrealmeidalexdeucher
authored andcommitted
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>
1 parent 6531fd5 commit 2847237

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include <linux/list.h>
3333
#include <linux/slab.h>
3434
#include <linux/dma-buf.h>
35+
#include <linux/export.h>
3536

3637
#include <drm/drm_drv.h>
3738
#include <drm/amdgpu_drm.h>

drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
*
2222
*/
2323

24+
#include <linux/export.h>
2425
#include <linux/init.h>
2526
#include <linux/module.h>
2627
#include <linux/platform_device.h>

0 commit comments

Comments
 (0)