diff options
author | Rob Herring <robh@kernel.org> | 2023-03-29 18:52:02 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-14 01:46:34 +0300 |
commit | 2e8fff668dc14e758ae80a898832eb9b6d60c463 (patch) | |
tree | 79ff087287f1a0617114087202f5346505ee9722 /include/linux/of_platform.h | |
parent | b58fa269c59d0f401ca569c661c6d7f3e1a20eeb (diff) | |
download | linux-2e8fff668dc14e758ae80a898832eb9b6d60c463.tar.xz |
of: Drop unnecessary includes in headers
Drop unnecessary includes in DT headers. Some simply aren't needed and
some can be replaced with forward declarations.
Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-5-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/of_platform.h')
-rw-r--r-- | include/linux/of_platform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index 8ac5cb933dc3..d8045bcfc35e 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h @@ -6,12 +6,13 @@ * <benh@kernel.crashing.org> */ -#include <linux/device.h> #include <linux/mod_devicetable.h> -#include <linux/pm.h> #include <linux/of_device.h> #include <linux/platform_device.h> +struct device; +struct of_device_id; + /** * struct of_dev_auxdata - lookup table entry for device names & platform_data * @compatible: compatible value of node to match against node |