diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-06-07 18:06:31 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-07-10 15:22:10 +0100 |
commit | ad8ace53e5284a9b0c07f20ad10440dbc48dd4f7 (patch) | |
tree | 1a7c000ffffe6660640d96db5d3556b7801dcfb5 /firmware/target/mips/ingenic_x1000/boot-x1000.c | |
parent | cc017f211a338a68a571226e589ce34e47fc8ad3 (diff) | |
download | rockbox-ad8ace53e5284a9b0c07f20ad10440dbc48dd4f7.tar.gz rockbox-ad8ace53e5284a9b0c07f20ad10440dbc48dd4f7.zip |
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
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/boot-x1000.c')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/boot-x1000.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
267 | 267 | ||
268 | int x1000_dualboot_load_pdma_fw(void) | 268 | int x1000_dualboot_load_pdma_fw(void) |
269 | { | 269 | { |
270 | nand_drv* n = nand_init(); | 270 | struct nand_drv* n = nand_init(); |
271 | nand_lock(n); | 271 | nand_lock(n); |
272 | 272 | ||
273 | int ret = nand_open(n); | 273 | int ret = nand_open(n); |