[PATCH 04/19] of: Move CPU node related functions to their own file
Sudeep Holla
sudeep.holla at arm.com
Wed Mar 29 11:14:23 PDT 2023
On Wed, Mar 29, 2023 at 10:52:01AM -0500, Rob Herring wrote:
> 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.
>
Makes sense to have its own file for CPUs, I am sure there will be more
additions 😉.
FWIW,
Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>
--
Regards,
Sudeep
More information about the linux-riscv
mailing list