diff options
author | Rob Herring <robh@kernel.org> | 2023-03-29 10:52:02 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-13 17:46:34 -0500 |
commit | 2e8fff668dc14e758ae80a898832eb9b6d60c463 (patch) | |
tree | 79ff087287f1a0617114087202f5346505ee9722 /include/linux/of.h | |
parent | b58fa269c59d0f401ca569c661c6d7f3e1a20eeb (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.h')
-rw-r--r-- | include/linux/of.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index ad3614537054..bc2eb39dcf75 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -16,13 +16,10 @@ #include <linux/errno.h> #include <linux/kobject.h> #include <linux/mod_devicetable.h> -#include <linux/topology.h> -#include <linux/notifier.h> #include <linux/property.h> #include <linux/list.h> #include <asm/byteorder.h> -#include <asm/errno.h> typedef u32 phandle; typedef u32 ihandle; @@ -1521,6 +1518,8 @@ enum of_reconfig_change { OF_RECONFIG_CHANGE_REMOVE, }; +struct notifier_block; + #ifdef CONFIG_OF_DYNAMIC extern int of_reconfig_notifier_register(struct notifier_block *); extern int of_reconfig_notifier_unregister(struct notifier_block *); |