diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:27:30 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:27:30 -0400 |
commit | 3ef3b43d5633d30fa3f033f62094ec2e9c5b8376 (patch) | |
tree | 815ba1afeb202834667e1dff08fa69b63ec0628f /drivers/scsi/libata.h | |
parent | abdda7331d469fa965167365f011d05e226008fb (diff) |
[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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index d56d9e1d73d..c2b1c919b96 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); | |||
62 | extern void ata_dev_select(struct ata_port *ap, unsigned int device, | 62 | extern void ata_dev_select(struct ata_port *ap, unsigned int device, |
63 | unsigned int wait, unsigned int can_sleep); | 63 | unsigned int wait, unsigned int can_sleep); |
64 | extern void swap_buf_le16(u16 *buf, unsigned int buf_words); | 64 | extern void swap_buf_le16(u16 *buf, unsigned int buf_words); |
65 | extern void ata_dev_init(struct ata_device *dev); | ||
65 | extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg); | 66 | extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg); |
66 | extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); | 67 | extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); |
67 | 68 | ||