From ad8ace53e5284a9b0c07f20ad10440dbc48dd4f7 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Tue, 7 Jun 2022 18:06:31 +0100 Subject: x1000: remove 'typedef struct' from NAND driver Using 'typedef struct' is not in line with the project coding style and somewhat problematic, so get rid of it here. Change-Id: Icfe79de72ed82cb7526e9f4e8296ec12084c01ac --- firmware/target/mips/ingenic_x1000/boot-x1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/mips/ingenic_x1000/boot-x1000.c') diff --git a/firmware/target/mips/ingenic_x1000/boot-x1000.c b/firmware/target/mips/ingenic_x1000/boot-x1000.c index f59ec5c4ea..2f2714c67a 100644 --- a/firmware/target/mips/ingenic_x1000/boot-x1000.c +++ b/firmware/target/mips/ingenic_x1000/boot-x1000.c @@ -267,7 +267,7 @@ void x1000_dualboot_init_uart2(void) int x1000_dualboot_load_pdma_fw(void) { - nand_drv* n = nand_init(); + struct nand_drv* n = nand_init(); nand_lock(n); int ret = nand_open(n); -- cgit v1.2.3