summaryrefslogtreecommitdiff
path: root/src/flash/cfi.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:38:01 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:06 -0800
commit632fd663a821047df9a9b965ec1c35d6b034ebba (patch)
treed62f8902a4d95189a56825780c903816f31a6a00 /src/flash/cfi.c
parentfb59ec739a3ae79937020dc2fe5413be0e73e8d3 (diff)
downloadopenocd_libswd-632fd663a821047df9a9b965ec1c35d6b034ebba.tar.gz
openocd_libswd-632fd663a821047df9a9b965ec1c35d6b034ebba.tar.bz2
openocd_libswd-632fd663a821047df9a9b965ec1c35d6b034ebba.tar.xz
openocd_libswd-632fd663a821047df9a9b965ec1c35d6b034ebba.zip
flash_driver_t -> struct flash_driver
Remove misleading typedef and redundant suffix from struct flash_driver.
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r--src/flash/cfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index a3187fe2..3fa49170 100644
--- a/src/flash/cfi.c
+++ b/src/flash/cfi.c
@@ -2626,7 +2626,7 @@ static int cfi_info(struct flash_bank_s *bank, char *buf, int buf_size)
return ERROR_OK;
}
-flash_driver_t cfi_flash = {
+struct flash_driver cfi_flash = {
.name = "cfi",
.register_commands = &cfi_register_commands,
.flash_bank_command = &cfi_flash_bank_command,