Commit 220c58bc6d1198c4c4e69a385d364602c38b6b1c
Committed by
David S. Miller
1 parent
f0e5f62d92
Exists in
master
and in
4 other branches
ide: make ide_get_best_pio_mode() static
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 2 changed files with 1 additions and 3 deletions Side-by-side Diff
drivers/ide/ide-xfer-mode.c
... | ... | @@ -58,7 +58,7 @@ |
58 | 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 | 63 | u16 *id = drive->id; |
64 | 64 | int pio_mode = -1, overridden = 0; |
... | ... | @@ -105,7 +105,6 @@ |
105 | 105 | |
106 | 106 | return pio_mode; |
107 | 107 | } |
108 | -EXPORT_SYMBOL_GPL(ide_get_best_pio_mode); | |
109 | 108 | |
110 | 109 | int ide_pio_need_iordy(ide_drive_t *drive, const u8 pio) |
111 | 110 | { |
include/linux/ide.h
... | ... | @@ -1496,7 +1496,6 @@ |
1496 | 1496 | #ifdef CONFIG_IDE_XFER_MODE |
1497 | 1497 | int ide_scan_pio_blacklist(char *); |
1498 | 1498 | const char *ide_xfer_verbose(u8); |
1499 | -u8 ide_get_best_pio_mode(ide_drive_t *, u8, u8); | |
1500 | 1499 | int ide_pio_need_iordy(ide_drive_t *, const u8); |
1501 | 1500 | int ide_set_pio_mode(ide_drive_t *, u8); |
1502 | 1501 | int ide_set_dma_mode(ide_drive_t *, u8); |