diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:32:17 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:14 -0800 |
commit | 2f6e56e38320350bb300b363d0b3737fa8d1f3ea (patch) | |
tree | 18a4c4b3d39b789af7c8fe44387888c7ec4f294b /src/flash/s3c2410_nand.c | |
parent | 0f1163e823c6ca3c2a81fa296157f5dde0635fea (diff) |
nand_device_t -> struct nand_device
Remove misleading typedef and redundant suffix from struct nand_device.
Diffstat (limited to 'src/flash/s3c2410_nand.c')
-rw-r--r-- | src/flash/s3c2410_nand.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/s3c2410_nand.c b/src/flash/s3c2410_nand.c index 23795fbd..6fe8bae7 100644 --- a/src/flash/s3c2410_nand.c +++ b/src/flash/s3c2410_nand.c @@ -44,7 +44,7 @@ NAND_DEVICE_COMMAND_HANDLER(s3c2410_nand_device_command) return ERROR_OK; } -static int s3c2410_init(struct nand_device_s *nand) +static int s3c2410_init(struct nand_device *nand) { struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; struct target *target = s3c24xx_info->target; @@ -56,7 +56,7 @@ static int s3c2410_init(struct nand_device_s *nand) return ERROR_OK; } -static int s3c2410_write_data(struct nand_device_s *nand, uint16_t data) +static int s3c2410_write_data(struct nand_device *nand, uint16_t data) { struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; struct target *target = s3c24xx_info->target; @@ -70,7 +70,7 @@ static int s3c2410_write_data(struct nand_device_s *nand, uint16_t data) return ERROR_OK; } -static int s3c2410_read_data(struct nand_device_s *nand, void *data) +static int s3c2410_read_data(struct nand_device *nand, void *data) { struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; struct target *target = s3c24xx_info->target; @@ -84,7 +84,7 @@ static int s3c2410_read_data(struct nand_device_s *nand, void *data) return ERROR_OK; } -static int s3c2410_nand_ready(struct nand_device_s *nand, int timeout) +static int s3c2410_nand_ready(struct nand_device *nand, int timeout) { struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; struct target *target = s3c24xx_info->target; |