summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-31 18:27:30 +0900
committerTejun Heo <htejun@gmail.com>2006-05-31 18:27:30 +0900
commit3ef3b43d5633d30fa3f033f62094ec2e9c5b8376 (patch)
tree815ba1afeb202834667e1dff08fa69b63ec0628f /drivers/scsi/libata.h
parentabdda7331d469fa965167365f011d05e226008fb (diff)
downloadblackbird-op-linux-3ef3b43d5633d30fa3f033f62094ec2e9c5b8376.tar.gz
blackbird-op-linux-3ef3b43d5633d30fa3f033f62094ec2e9c5b8376.zip
[PATCH] libata-hp-prep: implement ata_dev_init()
Move initialization of struct ata_device into ata_dev_init() in preparation for hotplug. This patch calls ata_dev_init() from ata_host_init() and thus makes no functional difference. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r--drivers/scsi/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h
index d56d9e1d73dc..c2b1c919b964 100644
--- a/drivers/scsi/libata.h
+++ b/drivers/scsi/libata.h
@@ -62,6 +62,7 @@ extern int ata_check_atapi_dma(struct ata_queued_cmd *qc);
extern void ata_dev_select(struct ata_port *ap, unsigned int device,
unsigned int wait, unsigned int can_sleep);
extern void swap_buf_le16(u16 *buf, unsigned int buf_words);
+extern void ata_dev_init(struct ata_device *dev);
extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg);
extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg);
OpenPOWER on IntegriCloud