diff options
-rw-r--r-- | drivers/ide/ide-xfer-mode.c | 3 | ||||
-rw-r--r-- | include/linux/ide.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide-xfer-mode.c b/drivers/ide/ide-xfer-mode.c index 9b549e4d1848..5fc8d5c17de9 100644 --- a/drivers/ide/ide-xfer-mode.c +++ b/drivers/ide/ide-xfer-mode.c | |||
@@ -58,7 +58,7 @@ EXPORT_SYMBOL(ide_xfer_verbose); | |||
58 | * This is used by most chipset support modules when "auto-tuning". | 58 | * This is used by most chipset support modules when "auto-tuning". |
59 | */ | 59 | */ |
60 | 60 | ||
61 | u8 ide_get_best_pio_mode(ide_drive_t *drive, u8 mode_wanted, u8 max_mode) | 61 | static u8 ide_get_best_pio_mode(ide_drive_t *drive, u8 mode_wanted, u8 max_mode) |
62 | { | 62 | { |
63 | u16 *id = drive->id; | 63 | u16 *id = drive->id; |
64 | int pio_mode = -1, overridden = 0; | 64 | int pio_mode = -1, overridden = 0; |
@@ -105,7 +105,6 @@ u8 ide_get_best_pio_mode(ide_drive_t *drive, u8 mode_wanted, u8 max_mode) | |||
105 | 105 | ||
106 | return pio_mode; | 106 | return pio_mode; |
107 | } | 107 | } |
108 | EXPORT_SYMBOL_GPL(ide_get_best_pio_mode); | ||
109 | 108 | ||
110 | int ide_pio_need_iordy(ide_drive_t *drive, const u8 pio) | 109 | int ide_pio_need_iordy(ide_drive_t *drive, const u8 pio) |
111 | { | 110 | { |
diff --git a/include/linux/ide.h b/include/linux/ide.h index 53ecdba82d72..97e6ab435184 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1496,7 +1496,6 @@ int ide_timing_compute(ide_drive_t *, u8, struct ide_timing *, int, int); | |||
1496 | #ifdef CONFIG_IDE_XFER_MODE | 1496 | #ifdef CONFIG_IDE_XFER_MODE |
1497 | int ide_scan_pio_blacklist(char *); | 1497 | int ide_scan_pio_blacklist(char *); |
1498 | const char *ide_xfer_verbose(u8); | 1498 | const char *ide_xfer_verbose(u8); |
1499 | u8 ide_get_best_pio_mode(ide_drive_t *, u8, u8); | ||
1500 | int ide_pio_need_iordy(ide_drive_t *, const u8); | 1499 | int ide_pio_need_iordy(ide_drive_t *, const u8); |
1501 | int ide_set_pio_mode(ide_drive_t *, u8); | 1500 | int ide_set_pio_mode(ide_drive_t *, u8); |
1502 | int ide_set_dma_mode(ide_drive_t *, u8); | 1501 | int ide_set_dma_mode(ide_drive_t *, u8); |