aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:17 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:17 -0500
commita501633c7d44087e806597d3a213d735346edd51 (patch)
treeb82d583f6e29beae7943860b01a0303985d197ea /include/linux/ide.h
parent1c904fcfbb0d8eef92ef42b1da378b4714143e46 (diff)
ide-disk: use ide_get_lba_addr()
* Export ide_get_lba_addr(). * Convert idedisk_{read_native,set}_max_address() to use ide_get_lba_addr(). * Remove incorrect comment from idedisk_read_native_max_address() (noticed by Sergei). There should be no functionality changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 67f98c096c03..ecaa96e613dc 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1238,6 +1238,7 @@ static inline int ide_dev_is_sata(struct hd_driveid *id)
1238 return 0; 1238 return 0;
1239} 1239}
1240 1240
1241u64 ide_get_lba_addr(struct ide_taskfile *, int);
1241u8 ide_dump_status(ide_drive_t *, const char *, u8); 1242u8 ide_dump_status(ide_drive_t *, const char *, u8);
1242 1243
1243typedef struct ide_pio_timings_s { 1244typedef struct ide_pio_timings_s {