summaryrefslogtreecommitdiff
path: root/src/flash/flash.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
commitef746e27c55c14b7a4f6381c490e5c175e409c0b (patch)
treec98f55afdd4a40de64371a04f7d201a47decb7e4 /src/flash/flash.c
parent98723c4ecdbe06f90c66f3abec27b792c3b38e34 (diff)
downloadopenocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.gz
openocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.bz2
openocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.xz
openocd+libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.zip
command_t -> struct command
Remove misleading typedef and redundant suffix from struct command.
Diffstat (limited to 'src/flash/flash.c')
-rw-r--r--src/flash/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index 32c1f490..20efa502 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -77,7 +77,7 @@ struct flash_driver *flash_drivers[] = {
};
struct flash_bank *flash_banks;
-static command_t *flash_cmd;
+static struct command *flash_cmd;
/* wafer thin wrapper for invoking the flash driver */
static int flash_driver_write(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count)