summaryrefslogtreecommitdiff
path: root/drivers/perf/amlogic
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 20:48:31 +0300
committerWill Deacon <will@kernel.org>2023-07-27 15:02:23 +0300
commit918dc87b746e0114eb64d6e478da7f370e266d5a (patch)
tree34fc93e8cb5dc5eebe42f6363391aeacd900fc61 /drivers/perf/amlogic
parent989567fc0f3d5ba1c2a48cdb857a3965b7e1a276 (diff)
downloadlinux-918dc87b746e0114eb64d6e478da7f370e266d5a.tar.xz
drivers/perf: Explicitly include correct DT includes
The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230714174832.4061752-1-robh@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/amlogic')
-rw-r--r--drivers/perf/amlogic/meson_ddr_pmu_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/perf/amlogic/meson_ddr_pmu_core.c b/drivers/perf/amlogic/meson_ddr_pmu_core.c
index 0b24dee1ed3c..bbc7285fd934 100644
--- a/drivers/perf/amlogic/meson_ddr_pmu_core.c
+++ b/drivers/perf/amlogic/meson_ddr_pmu_core.c
@@ -9,8 +9,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_device.h>
-#include <linux/of_irq.h>
#include <linux/perf_event.h>
#include <linux/platform_device.h>
#include <linux/printk.h>