Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

André Almeida and committed by
Alex Deucher
6531fd55 5d14fdab

-3
-1
drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
··· 24 24 * Alex Deucher 25 25 */ 26 26 27 - #include <linux/export.h> 28 27 #include <linux/pci.h> 29 28 30 29 #include <drm/drm_edid.h>
-1
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
··· 22 22 */ 23 23 24 24 #include <linux/device.h> 25 - #include <linux/export.h> 26 25 #include <linux/err.h> 27 26 #include <linux/fs.h> 28 27 #include <linux/file.h>
-1
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
··· 23 23 */ 24 24 25 25 #include <linux/device.h> 26 - #include <linux/export.h> 27 26 #include <linux/err.h> 28 27 #include <linux/fs.h> 29 28 #include <linux/sched.h>