summaryrefslogtreecommitdiff
path: root/src/flash/nand.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:38:35 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit8f4860d13f03c40b28bb32e9cb0f1d650e200ce9 (patch)
tree88cb3f40b8290d2e68286f54db3525c8b6e985be /src/flash/nand.h
parent86053523875d18151f3dd0b53bf30e07eec2acf2 (diff)
downloadopenocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.tar.gz
openocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.tar.bz2
openocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.tar.xz
openocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.zip
nand_ecclayout_t -> struct nand_ecclayout
Remove misleading typedef and redundant suffix from struct nand_ecclayout.
Diffstat (limited to 'src/flash/nand.h')
-rw-r--r--src/flash/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nand.h b/src/flash/nand.h
index ce7ed9df..922f08a9 100644
--- a/src/flash/nand.h
+++ b/src/flash/nand.h
@@ -66,12 +66,12 @@ struct nand_oobfree {
int length;
};
-typedef struct nand_ecclayout_s {
+struct nand_ecclayout {
int eccbytes;
int eccpos[64];
int oobavail;
struct nand_oobfree oobfree[2];
-} nand_ecclayout_t;
+};
typedef struct nand_device_s
{