summaryrefslogtreecommitdiff
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-08-31 03:04:28 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2023-08-31 03:04:28 +0300
commitef2a0b7cdbc5b84f7b3f6573b7687e72bede0964 (patch)
tree6acc909d36519ec15564f50e02e8f984b8b0030a /lib/genalloc.c
parent8f447694c23a432b2e9cfe67fb2651f8f6655bfd (diff)
parent86cdae14a58a877ee1ec79d39b1331bc98dace58 (diff)
downloadlinux-ef2a0b7cdbc5b84f7b3f6573b7687e72bede0964.tar.xz
Merge tag 'devicetree-header-cleanups-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull devicetree include cleanups from Rob Herring: "These are the remaining few clean-ups of DT related includes which didn't get applied to subsystem trees" * tag 'devicetree-header-cleanups-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: ipmi: Explicitly include correct DT includes tpm: Explicitly include correct DT includes lib/genalloc: Explicitly include correct DT includes parport: Explicitly include correct DT includes sbus: Explicitly include correct DT includes mux: Explicitly include correct DT includes macintosh: Explicitly include correct DT includes hte: Explicitly include correct DT includes EDAC: Explicitly include correct DT includes clocksource: Explicitly include correct DT includes sparc: Explicitly include correct DT includes riscv: Explicitly include correct DT includes
Diffstat (limited to 'lib/genalloc.c')
-rw-r--r--lib/genalloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/genalloc.c b/lib/genalloc.c
index 6c644f954bc5..4fa5635bf81b 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -32,7 +32,9 @@
#include <linux/rculist.h>
#include <linux/interrupt.h>
#include <linux/genalloc.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
+#include <linux/of_platform.h>
+#include <linux/platform_device.h>
#include <linux/vmalloc.h>
static inline size_t chunk_size(const struct gen_pool_chunk *chunk)