summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-03-23 15:38:34 +0000
committerJeff Garzik <jeff@garzik.org>2006-03-24 09:52:32 -0500
commitebdfca6eb1b755d3bfe9a81339ecdafd92038c1a (patch)
tree1780c1d10756c1f6c3cd34ac2f23faa729d9877d /include
parent082776e4be791736c32baf818e50f501a7f83819 (diff)
downloadop-kernel-dev-ebdfca6eb1b755d3bfe9a81339ecdafd92038c1a.zip
op-kernel-dev-ebdfca6eb1b755d3bfe9a81339ecdafd92038c1a.tar.gz
[PATCH] libata: add ata_dev_pair helper
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index c52f134..80c2339 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -573,6 +573,8 @@ extern int ata_std_bios_param(struct scsi_device *sdev,
struct block_device *bdev,
sector_t capacity, int geom[]);
extern int ata_scsi_slave_config(struct scsi_device *sdev);
+extern struct ata_device *ata_dev_pair(struct ata_port *ap,
+ struct ata_device *adev);
/*
* Timing helpers
OpenPOWER on IntegriCloud