summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/command.c')
-rw-r--r--drivers/usb/gadget/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/command.c b/drivers/usb/gadget/command.c
index e66e033..543b99e 100644
--- a/drivers/usb/gadget/command.c
+++ b/drivers/usb/gadget/command.c
@@ -73,7 +73,7 @@ int bcb_read_command(char *command)
char *addr_str;
char *nand_str;
ulong misc_info_size;
- nand_info_t *nand = &nand_info[0];
+ struct mtd_info *nand = &nand_info[0];
if (command == NULL)
return -1;
memset(read_cmd, 0, 128);
@@ -97,7 +97,7 @@ int bcb_write_command(char *command)
char *addr_str;
char *nand_str;
ulong misc_info_size;
- nand_info_t *nand = &nand_info[0];
+ struct mtd_info *nand = &nand_info[0];
if (command == NULL)
return -1;
memset(cmd, 0, 128);