]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: implement ata_host_detach()
authorTejun Heo <htejun@gmail.com>
Sat, 20 Jan 2007 07:00:26 +0000 (16:00 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:37 +0000 (17:39 -0500)
commit0529c159dbdd79794796c1b50b39442d72efbe97
tree417e2285c048ca582ba6e1f40119930c460250ad
parent9ac7849e35f705830f7b016ff272b0ff1f7ff759
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>
drivers/ata/ahci.c
drivers/ata/libata-core.c
include/linux/libata.h