summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-29 10:52:01 -0500
committerRob Herring <robh@kernel.org>2023-04-13 17:46:34 -0500
commitb58fa269c59d0f401ca569c661c6d7f3e1a20eeb (patch)
treed146168e15f646c19d8ae3154f259bc01d6a742c /drivers/of/Makefile
parent82174a0a9c5cf36a3e421fc1d2c86998d8023f61 (diff)
downloadlinux-stable-b58fa269c59d0f401ca569c661c6d7f3e1a20eeb.tar.gz
linux-stable-b58fa269c59d0f401ca569c661c6d7f3e1a20eeb.tar.bz2
linux-stable-b58fa269c59d0f401ca569c661c6d7f3e1a20eeb.zip
of: Move CPU node related functions to their own file
drivers/of/base.c is quite long and we've accumulated a number of CPU node functions. Let's move them to a new file, cpu.c, along with the lone of_cpu_device_node_get() in of_device.h. Moving the declaration has no effect yet as of.h is included by of_device.h. This serves as preparation to disentangle the includes in of_device.h and of_platform.h. Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-4-581e2605fe47@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index e0360a44306e..10f704592561 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y = base.o device.o platform.o property.o
+obj-y = base.o cpu.o device.o platform.o property.o
obj-$(CONFIG_OF_KOBJ) += kobj.o
obj-$(CONFIG_OF_DYNAMIC) += dynamic.o
obj-$(CONFIG_OF_FLATTREE) += fdt.o