diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:24 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:24 -0500 |
commit | 056a697b7388844a1341e92e277bff8e5bf61ec9 (patch) | |
tree | b548accd5b90d95e9d774ce6a253164808d527a9 /drivers/ide/ide-lib.c | |
parent | c94964a4555eb58be3f45edf2b63a2b3f549ef29 (diff) |
ide: unexport ide_set_xfer_rate() (v2)
In cmd64x, siimage and scc_pata drivers:
* don't set drive->init_speed as it should be already
set by successful execution of ide_set_xfer_rate()
* use hwif->speedproc functions directly
Above changes allows removal of EXPORT_SYMBOL_GPL(ide_set_xfer_rate).
v2:
* updated for scc_pata driver
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-lib.c')
-rw-r--r-- | drivers/ide/ide-lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-lib.c b/drivers/ide/ide-lib.c index 345456f4c002..bea5e13ee361 100644 --- a/drivers/ide/ide-lib.c +++ b/drivers/ide/ide-lib.c | |||
@@ -459,8 +459,6 @@ int ide_set_xfer_rate(ide_drive_t *drive, u8 rate) | |||
459 | return -1; | 459 | return -1; |
460 | } | 460 | } |
461 | 461 | ||
462 | EXPORT_SYMBOL_GPL(ide_set_xfer_rate); | ||
463 | |||
464 | static void ide_dump_opcode(ide_drive_t *drive) | 462 | static void ide_dump_opcode(ide_drive_t *drive) |
465 | { | 463 | { |
466 | struct request *rq; | 464 | struct request *rq; |