summaryrefslogtreecommitdiff
path: root/src/flash/s3c24xx_nand.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:38:52 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commited9c4ef3c41ac21d0a08cb7e07ab68d0c7930138 (patch)
tree6038c61d4d57a6dabd9294afaebd17860c7286dc /src/flash/s3c24xx_nand.h
parenteba5608b5227696e00437543c0226ed04cae12d5 (diff)
downloadopenocd_libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.tar.gz
openocd_libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.tar.bz2
openocd_libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.tar.xz
openocd_libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.zip
s3c24xx_nand_controller_t -> struct s3c24xx_nand_controller
Remove misleading typedef and redundant suffix from struct s3c24xx_nand_controller.
Diffstat (limited to 'src/flash/s3c24xx_nand.h')
-rw-r--r--src/flash/s3c24xx_nand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/s3c24xx_nand.h b/src/flash/s3c24xx_nand.h
index 3f304a98..6cfad3d3 100644
--- a/src/flash/s3c24xx_nand.h
+++ b/src/flash/s3c24xx_nand.h
@@ -30,7 +30,7 @@
#include "nand.h"
#include "s3c24xx_regs_nand.h"
-typedef struct s3c24xx_nand_controller_s
+struct s3c24xx_nand_controller
{
struct target_s *target;
@@ -39,7 +39,7 @@ typedef struct s3c24xx_nand_controller_s
uint32_t addr;
uint32_t data;
uint32_t nfstat;
-} s3c24xx_nand_controller_t;
+};
/* Default to using the un-translated NAND register based address */
#undef S3C2410_NFREG
@@ -48,7 +48,7 @@ typedef struct s3c24xx_nand_controller_s
#define S3C24XX_DEVICE_COMMAND() \
COMMAND_HELPER(s3c24xx_nand_device_command, \
struct nand_device_s *nand, \
- s3c24xx_nand_controller_t **info)
+ struct s3c24xx_nand_controller **info)
S3C24XX_DEVICE_COMMAND();