]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
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)
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

index 8179d0814db99a8da8b8816b79b523a1a28a1f13..57101d24422f2bb90e800dd3af6457a1fb8e963f 100644 (file)
@@ -24,7 +24,6 @@
  *          Alex Deucher
  */
 
-#include <linux/export.h>
 #include <linux/pci.h>
 
 #include <drm/drm_edid.h>
index a2149afa5803e2fe4f0320315848ff1d9a7e038c..828a9ceef1e763018677ef6f01aac62fe0f945fd 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 #include <linux/device.h>
-#include <linux/export.h>
 #include <linux/err.h>
 #include <linux/fs.h>
 #include <linux/file.h>
index dbcb60eb54b244f56f3c1482303eef8c9357e636..1d170dc50df3385550800276a64bad2097f04b72 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 #include <linux/device.h>
-#include <linux/export.h>
 #include <linux/err.h>
 #include <linux/fs.h>
 #include <linux/sched.h>