aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorJames Zhu <[email protected]>2020-06-18 02:15:30 +0000
committerAlex Deucher <[email protected]>2020-07-01 05:59:23 +0000
commit232e5d45c7bda044f90bc0f9550780f470696dd6 (patch)
tree2095f05d420540feaba16a9e0868c549a8a250b6 /drivers/gpu/drm/amd/amdgpu
parentdrm/amdkfd: fix ref count leak when pm_runtime_get_sync fails (diff)
downloadkernel-232e5d45c7bda044f90bc0f9550780f470696dd6.tar.gz
kernel-232e5d45c7bda044f90bc0f9550780f470696dd6.zip
drm/amdgpu/jpeg1.0: fix no previous prototype for functions
Include header file jpeg_v1_0.h. Signed-off-by: James Zhu <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c
index b10c95cad9a2..4c6c7544b400 100644
--- a/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c
@@ -26,6 +26,7 @@
#include "soc15.h"
#include "soc15d.h"
#include "vcn_v1_0.h"
+#include "jpeg_v1_0.h"
#include "vcn/vcn_1_0_offset.h"
#include "vcn/vcn_1_0_sh_mask.h"