aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-31 05:27:30 -0400
committerTejun Heo <htejun@gmail.com>2006-05-31 05:27:30 -0400
commit3ef3b43d5633d30fa3f033f62094ec2e9c5b8376 (patch)
tree815ba1afeb202834667e1dff08fa69b63ec0628f /drivers/scsi/libata.h
parentabdda7331d469fa965167365f011d05e226008fb (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.h1
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);
62extern void ata_dev_select(struct ata_port *ap, unsigned int device, 62extern 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);
64extern void swap_buf_le16(u16 *buf, unsigned int buf_words); 64extern void swap_buf_le16(u16 *buf, unsigned int buf_words);
65extern void ata_dev_init(struct ata_device *dev);
65extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg); 66extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg);
66extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); 67extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg);
67 68