aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-01-20 02:00:26 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:37 -0500
commit0529c159dbdd79794796c1b50b39442d72efbe97 (patch)
tree417e2285c048ca582ba6e1f40119930c460250ad /include
parent9ac7849e35f705830f7b016ff272b0ff1f7ff759 (diff)
libata: implement ata_host_detach()
Implement ata_host_detach() which calls ata_port_detach() for each port in the host and export it. ata_port_detach() is now internal and thus un-exported. ata_host_detach() will be used as the 'deregister from libata layer' function after devres conversion. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index a2458dfefb17..e9a0cfdcfe2c 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -719,7 +719,7 @@ extern int ata_pci_device_resume(struct pci_dev *pdev);
719extern int ata_pci_clear_simplex(struct pci_dev *pdev); 719extern int ata_pci_clear_simplex(struct pci_dev *pdev);
720#endif /* CONFIG_PCI */ 720#endif /* CONFIG_PCI */
721extern int ata_device_add(const struct ata_probe_ent *ent); 721extern int ata_device_add(const struct ata_probe_ent *ent);
722extern void ata_port_detach(struct ata_port *ap); 722extern void ata_host_detach(struct ata_host *host);
723extern void ata_host_init(struct ata_host *, struct device *, 723extern void ata_host_init(struct ata_host *, struct device *,
724 unsigned long, const struct ata_port_operations *); 724 unsigned long, const struct ata_port_operations *);
725extern void ata_host_remove(struct ata_host *host); 725extern void ata_host_remove(struct ata_host *host);