chore: fix `clang-tidy` warnings
Fix warnings introduced by previous commit.
Change-Id: I3884f8a774860905ddf3d4554f986fde16ec9919
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/inc/hf/arch/cpu.h b/inc/hf/arch/cpu.h
index 20052cd..096ebca 100644
--- a/inc/hf/arch/cpu.h
+++ b/inc/hf/arch/cpu.h
@@ -38,13 +38,13 @@
* Verifies the `gp_reg_num` complies with the number of registers available in
* the architecture.
*/
-bool arch_regs_reg_num_valid(const uint32_t gp_reg_num);
+bool arch_regs_reg_num_valid(uint32_t gp_reg_num);
/**
* Sets the value of a general purpose register.
*/
void arch_regs_set_gp_reg(struct arch_regs *r, uintreg_t value,
- const uint32_t gp_reg_num);
+ uint32_t gp_reg_num);
/**
* Updates the register holding the return value of a function.