Skip to contentSkip to conversation

drm/amdgpu: fix warning about missing imu prototype

PATCH In review Alex Deucher 2 participants 2 messages Sep 9, 2022 – Sep 10, 2022

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: fix warning about missing imu prototype

for imu_v11_0_3_program_rlc_ram(). Include imu_v11_0_3.h in imu_v11_0_3.c.

---
 drivers/gpu/drm/amd/amdgpu/imu_v11_0_3.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/imu_v11_0_3.c +1 -0
index 536dafb57ee0..fc69c1a29e23 100644
@@ -22,6 +22,7 @@
  */
 #include "amdgpu.h"
 #include "amdgpu_imu.h"
+#include "imu_v11_0_3.h"
 
 #include "gc/gc_11_0_3_offset.h"
 #include "gc/gc_11_0_3_sh_mask.h"
Signature · 1 line
2.37.2
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Regards,
Hawking
From: amd-gfx <[email protected]> on behalf of Alex Deucher <[email protected]>
Date: Saturday, September 10, 2022 at 05:40
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>, kernel test robot <[email protected]>
Subject: [PATCH] drm/amdgpu: fix warning about missing imu prototype
for imu_v11_0_3_program_rlc_ram(). Include imu_v11_0_3.h
in imu_v11_0_3.c.

---
 drivers/gpu/drm/amd/amdgpu/imu_v11_0_3.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/imu_v11_0_3.c +1 -0
index 536dafb57ee0..fc69c1a29e23 100644
@@ -22,6 +22,7 @@
  */
 #include "amdgpu.h"
 #include "amdgpu_imu.h"
+#include "imu_v11_0_3.h"
 
 #include "gc/gc_11_0_3_offset.h"
 #include "gc/gc_11_0_3_sh_mask.h"

--
2.37.2