Skip to content

Commit 6531fd5

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

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* Alex Deucher
2525
*/
2626

27-
#include <linux/export.h>
2827
#include <linux/pci.h>
2928

3029
#include <drm/drm_edid.h>

drivers/gpu/drm/amd/amdkfd/kfd_chardev.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
*/
2323

2424
#include <linux/device.h>
25-
#include <linux/export.h>
2625
#include <linux/err.h>
2726
#include <linux/fs.h>
2827
#include <linux/file.h>

drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525
#include <linux/device.h>
26-
#include <linux/export.h>
2726
#include <linux/err.h>
2827
#include <linux/fs.h>
2928
#include <linux/sched.h>

0 commit comments

Comments
 (0)