cpu: Convert the methods to use a const udevice *
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 05:06:27 +0000 (22:06 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commitf07e58b878fc18bd69d2c19075f0fb8d7d35da00
treeca468b413f8eee4677bc83c4adf1c118956eacb2
parent3b9a87321cf5f40ad4c8dac535f94b0cbde19ce2
cpu: Convert the methods to use a const udevice *

These functions should not modify the device. Convert them to const so
that callers don't need to cast if they have a const udevice *.

Signed-off-by: Simon Glass <sjg@chromium.org>
15 files changed:
arch/nios2/cpu/cpu.c
arch/x86/cpu/apollolake/cpu.c
arch/x86/cpu/baytrail/cpu.c
arch/x86/cpu/broadwell/cpu_full.c
arch/x86/cpu/cpu_x86.c
arch/x86/cpu/ivybridge/model_206ax.c
arch/x86/cpu/qemu/cpu.c
arch/x86/include/asm/cpu_x86.h
drivers/cpu/bmips_cpu.c
drivers/cpu/cpu-uclass.c
drivers/cpu/cpu_sandbox.c
drivers/cpu/imx8_cpu.c
drivers/cpu/mpc83xx_cpu.c
drivers/cpu/riscv_cpu.c
include/cpu.h