aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/cris/ide-cris.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/cris/ide-cris.c')
-rw-r--r--drivers/ide/cris/ide-cris.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c
index 9df26855bc05..aa263df76569 100644
--- a/drivers/ide/cris/ide-cris.c
+++ b/drivers/ide/cris/ide-cris.c
@@ -673,8 +673,10 @@ cris_ide_inb(unsigned long reg)
673 return (unsigned char)cris_ide_inw(reg); 673 return (unsigned char)cris_ide_inw(reg);
674} 674}
675 675
676static void cris_ide_input_data (ide_drive_t *drive, void *, unsigned int); 676static void cris_ide_input_data(ide_drive_t *, struct request *,
677static void cris_ide_output_data (ide_drive_t *drive, void *, unsigned int); 677 void *, unsigned int);
678static void cris_ide_output_data(ide_drive_t *, struct request *,
679 void *, unsigned int);
678static void cris_atapi_input_bytes(ide_drive_t *drive, void *, unsigned int); 680static void cris_atapi_input_bytes(ide_drive_t *drive, void *, unsigned int);
679static void cris_atapi_output_bytes(ide_drive_t *drive, void *, unsigned int); 681static void cris_atapi_output_bytes(ide_drive_t *drive, void *, unsigned int);
680 682
@@ -900,8 +902,8 @@ cris_atapi_output_bytes (ide_drive_t *drive, void *buffer, unsigned int bytecoun
900/* 902/*
901 * This is used for most PIO data transfers *from* the IDE interface 903 * This is used for most PIO data transfers *from* the IDE interface
902 */ 904 */
903static void 905static void cris_ide_input_data(ide_drive_t *drive, struct request *rq,
904cris_ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount) 906 void *buffer, unsigned int wcount)
905{ 907{
906 cris_atapi_input_bytes(drive, buffer, wcount << 2); 908 cris_atapi_input_bytes(drive, buffer, wcount << 2);
907} 909}
@@ -909,8 +911,8 @@ cris_ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount)
909/* 911/*
910 * This is used for most PIO data transfers *to* the IDE interface 912 * This is used for most PIO data transfers *to* the IDE interface
911 */ 913 */
912static void 914static void cris_ide_output_data(ide_drive_t *drive, struct request *,
913cris_ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount) 915 void *buffer, unsigned int wcount)
914{ 916{
915 cris_atapi_output_bytes(drive, buffer, wcount << 2); 917 cris_atapi_output_bytes(drive, buffer, wcount << 2);
916} 918}