Skip to contentSkip to conversation

drm/amdgpu/pm: use linux/processor.h instead of asm/processor.h

PATCH New Colin King 1 participant 1 message Apr 16, 2021

Subsystems (4)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 drm/amdgpu/pm: use linux/processor.h instead of asm/processor.h

From: Colin Ian King <[email protected]>

Checkpatch reported that linux/processor.h should be included instead of the asm variant. Fix this to clean up the warning.

---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/amdgpu_pm.c +1 -1
index 204e34549013..6842dd483c2a 100644
@@ -33,7 +33,7 @@
 #include <linux/hwmon-sysfs.h>
 #include <linux/nospec.h>
 #include <linux/pm_runtime.h>
-#include <asm/processor.h>
+#include <linux/processor.h>
 #include "hwmgr.h"
 
 static const struct cg_flag_name clocks[] = {
Signature · 6 lines
2.30.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel