Thread (2 messages) read the whole thread 2 messages, 2 authors, 2022-11-22
STALE1347d LANDED: 11 (11M)

1 review trailer; landed in mainline as 7299fdc1cfff on 2022-11-22.

[PATCH v2] perf/amlogic: Fix build error for x86_64 allmodconfig

From: Jiucheng Xu <jiucheng.xu@amlogic.com>
Date: 2022-11-22 08:41:43
Also in: linux-amlogic, lkml
Subsystem: amlogic ddr pmu driver, arm pmu profiling and debugging, the rest · Maintainers: Jiucheng Xu, Will Deacon, Mark Rutland, Linus Torvalds

The driver misses including <linux/io.h>. It causes
compiling error "implicit declaration of function
'readl' and 'writel'" when make X86_64 allmodconfig.

Fixs: '2016e2113d35b ("perf/amlogic: Add support for
Amlogic meson G12 SoC DDR PMU driver")'
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes v1 -> v2:
  - Add the "Reviewed-by" tag
---
 drivers/perf/amlogic/meson_g12_ddr_pmu.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/perf/amlogic/meson_g12_ddr_pmu.c b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
index c07c34f03cce..932802abd18c 100644
--- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c
+++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
@@ -4,6 +4,7 @@
  */
 
 #include <linux/err.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of.h>
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help