summaryrefslogtreecommitdiff
path: root/include/linux/of_device.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-29 10:52:02 -0500
committerRob Herring <robh@kernel.org>2023-04-13 17:46:34 -0500
commit2e8fff668dc14e758ae80a898832eb9b6d60c463 (patch)
tree79ff087287f1a0617114087202f5346505ee9722 /include/linux/of_device.h
parentb58fa269c59d0f401ca569c661c6d7f3e1a20eeb (diff)
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_device.h')
-rw-r--r--include/linux/of_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h
index fbe342fb729f..bafe50150d24 100644
--- a/include/linux/of_device.h
+++ b/include/linux/of_device.h
@@ -7,9 +7,10 @@
#include <linux/of_platform.h> /* temporary until merge */
#include <linux/of.h>
-#include <linux/mod_devicetable.h>
struct device;
+struct of_device_id;
+struct kobj_uevent_env;
#ifdef CONFIG_OF
extern const struct of_device_id *of_match_device(