summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pbias-regulator.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 19:49:28 +0200
committerMark Brown <broonie@kernel.org>2023-07-14 21:52:54 +0200
commit045a44d4c9b32578aacf0811063e5bb741c7c32c (patch)
tree8507566fbf8d4fe3aa93ab8772c6a6afe2f3e991 /drivers/regulator/pbias-regulator.c
parentregulator: da9062: Make the use of IRQ optional (diff)
downloadlinux-045a44d4c9b32578aacf0811063e5bb741c7c32c.tar.xz
linux-045a44d4c9b32578aacf0811063e5bb741c7c32c.zip
regulator: 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/20230714174930.4063320-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/pbias-regulator.c')
-rw-r--r--drivers/regulator/pbias-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/pbias-regulator.c b/drivers/regulator/pbias-regulator.c
index 0c9873e9abdc..cd5a0d7e4455 100644
--- a/drivers/regulator/pbias-regulator.c
+++ b/drivers/regulator/pbias-regulator.c
@@ -25,7 +25,6 @@
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/of.h>
-#include <linux/of_device.h>
struct pbias_reg_info {
u32 enable;