summaryrefslogtreecommitdiff
path: root/src/arch/riscv/misaligned.c
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2024-03-07 22:56:27 +0100
committerMartin L Roth <gaumless@gmail.com>2024-03-09 23:47:19 +0000
commit5d0fa0de70145de85dcc6bd7c1ba0db19b864b89 (patch)
tree496dca4a6569a9c44e6c33f7709bc7febcafc531 /src/arch/riscv/misaligned.c
parent56c3444d85a1b60fcc891910c9c60e5f75ba9197 (diff)
arch/riscv: Remove typedefs
typedefs violate our coding-style Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: Id51eda53b6b53ed2cc66c0339c03c855c12c1bd8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/81124 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Hug <philipp@hug.cx>
Diffstat (limited to 'src/arch/riscv/misaligned.c')
-rw-r--r--src/arch/riscv/misaligned.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/misaligned.c b/src/arch/riscv/misaligned.c
index 9f144b89bc..151ed9962a 100644
--- a/src/arch/riscv/misaligned.c
+++ b/src/arch/riscv/misaligned.c
@@ -156,7 +156,7 @@ static enum cb_err fetch_32bit_instruction(uintptr_t vaddr, uintptr_t *insn, int
return CB_ERR;
}
-void handle_misaligned(trapframe *tf)
+void handle_misaligned(struct trapframe *tf)
{
uintptr_t insn = 0;
union endian_buf buff;