libata: move ata_set_mode() to libata-eh.c
authorTejun Heo <htejun@gmail.com>
Tue, 27 Nov 2007 10:28:55 +0000 (19:28 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:10 +0000 (05:24 -0500)
commit6f1d1e3a03fd04a9d9c82fd3cf414020097bb142
treeceb7917e7ca056c2884ef9dd2a239945ad45724c
parent02c05a27e884c9655dae5b1c8bc0cd89c060c43d
libata: move ata_set_mode() to libata-eh.c

Move ata_set_mode() to libata-eh.c.  ata_set_mode() is surely an EH
action and will be more tightly coupled with the rest of error
handling.  Move it to libata-eh.c.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/libata.h