aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata.h
diff options
context:
space:
mode:
authorBrian King <brking@us.ibm.com>2006-08-07 14:27:24 -0500
committerJeff Garzik <jeff@garzik.org>2006-08-09 00:08:38 -0400
commitf6d950e2a5209bd7e3fb1a238f43f24f3697f5b0 (patch)
treeacdcb6deba03af3255c6e4bd76593ffa570e1698 /drivers/scsi/libata.h
parent[PATCH] libata: Add ata_port_init (diff)
downloadlinux-dev-f6d950e2a5209bd7e3fb1a238f43f24f3697f5b0.tar.xz
linux-dev-f6d950e2a5209bd7e3fb1a238f43f24f3697f5b0.zip
[PATCH] libata: Move ata_probe_ent_alloc to libata_core
Move ata_probe_ent_alloc to libata-core. It will also be used by future SAS/SATA integration patches. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r--drivers/scsi/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h
index b38aa4a286be..0b7a37c2785d 100644
--- a/drivers/scsi/libata.h
+++ b/drivers/scsi/libata.h
@@ -71,6 +71,8 @@ extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg);
extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg);
extern void ata_port_init(struct ata_port *ap, struct ata_host_set *host_set,
const struct ata_probe_ent *ent, unsigned int port_no);
+extern struct ata_probe_ent *ata_probe_ent_alloc(struct device *dev,
+ const struct ata_port_info *port);
/* libata-scsi.c */