diff options
Diffstat (limited to 'firmware/target/arm/s5l8702')
-rw-r--r-- | firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c b/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c index dbf0ce9dd4..395c0f49e6 100644 --- a/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c +++ b/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c | |||
@@ -962,7 +962,7 @@ int ata_soft_reset(void) | |||
962 | return rc; | 962 | return rc; |
963 | } | 963 | } |
964 | 964 | ||
965 | int ata_read_sectors(IF_MD2(int drive,) unsigned long start, int incount, | 965 | int ata_read_sectors(IF_MD(int drive,) unsigned long start, int incount, |
966 | void* inbuf) | 966 | void* inbuf) |
967 | { | 967 | { |
968 | mutex_lock(&ata_mutex); | 968 | mutex_lock(&ata_mutex); |
@@ -971,7 +971,7 @@ int ata_read_sectors(IF_MD2(int drive,) unsigned long start, int incount, | |||
971 | return rc; | 971 | return rc; |
972 | } | 972 | } |
973 | 973 | ||
974 | int ata_write_sectors(IF_MD2(int drive,) unsigned long start, int count, | 974 | int ata_write_sectors(IF_MD(int drive,) unsigned long start, int count, |
975 | const void* outbuf) | 975 | const void* outbuf) |
976 | { | 976 | { |
977 | mutex_lock(&ata_mutex); | 977 | mutex_lock(&ata_mutex); |
@@ -1007,7 +1007,7 @@ void ata_spin(void) | |||
1007 | ata_set_active(); | 1007 | ata_set_active(); |
1008 | } | 1008 | } |
1009 | 1009 | ||
1010 | void ata_get_info(IF_MD2(int drive,) struct storage_info *info) | 1010 | void ata_get_info(IF_MD(int drive,) struct storage_info *info) |
1011 | { | 1011 | { |
1012 | (*info).sector_size = SECTOR_SIZE; | 1012 | (*info).sector_size = SECTOR_SIZE; |
1013 | #ifdef ATA_HAVE_BBT | 1013 | #ifdef ATA_HAVE_BBT |