diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 07:38:30 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:07 -0800 |
commit | 86053523875d18151f3dd0b53bf30e07eec2acf2 (patch) | |
tree | 003bab7b73e082cbb7e6a4ced85ab7112e1210fe /src/flash/nand.c | |
parent | 4bc46d61cade59a43d158862dfbe738255f00a81 (diff) | |
download | riscv-openocd-86053523875d18151f3dd0b53bf30e07eec2acf2.zip riscv-openocd-86053523875d18151f3dd0b53bf30e07eec2acf2.tar.gz riscv-openocd-86053523875d18151f3dd0b53bf30e07eec2acf2.tar.bz2 |
nand_flash_controller_t -> struct nand_flash_controller
Remove misleading typedef and redundant suffix from struct nand_flash_controller.
Diffstat (limited to 'src/flash/nand.c')
-rw-r--r-- | src/flash/nand.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c index 44207a8..1249327 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -35,18 +35,18 @@ static int nand_write_page(struct nand_device_s *nand, uint32_t page, uint8_t *d /* NAND flash controller */ -extern nand_flash_controller_t davinci_nand_controller; -extern nand_flash_controller_t lpc3180_nand_controller; -extern nand_flash_controller_t orion_nand_controller; -extern nand_flash_controller_t s3c2410_nand_controller; -extern nand_flash_controller_t s3c2412_nand_controller; -extern nand_flash_controller_t s3c2440_nand_controller; -extern nand_flash_controller_t s3c2443_nand_controller; -extern nand_flash_controller_t imx31_nand_flash_controller; - -/* extern nand_flash_controller_t boundary_scan_nand_controller; */ - -static nand_flash_controller_t *nand_flash_controllers[] = +extern struct nand_flash_controller davinci_nand_controller; +extern struct nand_flash_controller lpc3180_nand_controller; +extern struct nand_flash_controller orion_nand_controller; +extern struct nand_flash_controller s3c2410_nand_controller; +extern struct nand_flash_controller s3c2412_nand_controller; +extern struct nand_flash_controller s3c2440_nand_controller; +extern struct nand_flash_controller s3c2443_nand_controller; +extern struct nand_flash_controller imx31_nand_flash_controller; + +/* extern struct nand_flash_controller boundary_scan_nand_controller; */ + +static struct nand_flash_controller *nand_flash_controllers[] = { &davinci_nand_controller, &lpc3180_nand_controller, |