diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 080314e3d6b7..8e0c9f27ae4a 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -305,7 +305,7 @@ int set_io_32bit(ide_drive_t *drive, int arg) | |||
305 | return 0; | 305 | return 0; |
306 | } | 306 | } |
307 | 307 | ||
308 | static int set_ksettings(ide_drive_t *drive, int arg) | 308 | int set_ksettings(ide_drive_t *drive, int arg) |
309 | { | 309 | { |
310 | if (arg < 0 || arg > 1) | 310 | if (arg < 0 || arg > 1) |
311 | return -EINVAL; | 311 | return -EINVAL; |
@@ -394,7 +394,7 @@ int set_pio_mode(ide_drive_t *drive, int arg) | |||
394 | return 0; | 394 | return 0; |
395 | } | 395 | } |
396 | 396 | ||
397 | static int set_unmaskirq(ide_drive_t *drive, int arg) | 397 | int set_unmaskirq(ide_drive_t *drive, int arg) |
398 | { | 398 | { |
399 | if (drive->no_unmask) | 399 | if (drive->no_unmask) |
400 | return -EPERM; | 400 | return -EPERM; |