aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 09657c372d3b..2d479b67d0b4 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -5960,24 +5960,18 @@ int ata_host_start(struct ata_host *host)
5960} 5960}
5961 5961
5962/** 5962/**
5963 * ata_sas_host_init - Initialize a host struct 5963 * ata_sas_host_init - Initialize a host struct for sas (ipr, libsas)
5964 * @host: host to initialize 5964 * @host: host to initialize
5965 * @dev: device host is attached to 5965 * @dev: device host is attached to
5966 * @flags: host flags
5967 * @ops: port_ops 5966 * @ops: port_ops
5968 * 5967 *
5969 * LOCKING:
5970 * PCI/etc. bus probe sem.
5971 *
5972 */ 5968 */
5973/* KILLME - the only user left is ipr */
5974void ata_host_init(struct ata_host *host, struct device *dev, 5969void ata_host_init(struct ata_host *host, struct device *dev,
5975 unsigned long flags, struct ata_port_operations *ops) 5970 struct ata_port_operations *ops)
5976{ 5971{
5977 spin_lock_init(&host->lock); 5972 spin_lock_init(&host->lock);
5978 mutex_init(&host->eh_mutex); 5973 mutex_init(&host->eh_mutex);
5979 host->dev = dev; 5974 host->dev = dev;
5980 host->flags = flags;
5981 host->ops = ops; 5975 host->ops = ops;
5982} 5976}
5983 5977