summaryrefslogtreecommitdiff
path: root/src/flash/s3c2440_nand.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:38:30 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit86053523875d18151f3dd0b53bf30e07eec2acf2 (patch)
tree003bab7b73e082cbb7e6a4ced85ab7112e1210fe /src/flash/s3c2440_nand.c
parent4bc46d61cade59a43d158862dfbe738255f00a81 (diff)
downloadopenocd+libswd-86053523875d18151f3dd0b53bf30e07eec2acf2.tar.gz
openocd+libswd-86053523875d18151f3dd0b53bf30e07eec2acf2.tar.bz2
openocd+libswd-86053523875d18151f3dd0b53bf30e07eec2acf2.tar.xz
openocd+libswd-86053523875d18151f3dd0b53bf30e07eec2acf2.zip
nand_flash_controller_t -> struct nand_flash_controller
Remove misleading typedef and redundant suffix from struct nand_flash_controller.
Diffstat (limited to 'src/flash/s3c2440_nand.c')
-rw-r--r--src/flash/s3c2440_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/s3c2440_nand.c b/src/flash/s3c2440_nand.c
index 80020f63..8c056878 100644
--- a/src/flash/s3c2440_nand.c
+++ b/src/flash/s3c2440_nand.c
@@ -153,7 +153,7 @@ int s3c2440_write_block_data(struct nand_device_s *nand, uint8_t *data, int data
return ERROR_OK;
}
-nand_flash_controller_t s3c2440_nand_controller = {
+struct nand_flash_controller s3c2440_nand_controller = {
.name = "s3c2440",
.nand_device_command = &s3c2440_nand_device_command,
.register_commands = &s3c24xx_register_commands,