pata: expose set_mode method so it can be wrapped
authorAlan <alan@lxorguk.ukuu.org.uk>
Tue, 6 Mar 2007 10:37:52 +0000 (02:37 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:15:58 +0000 (14:15 -0400)
commit04351821b43e6c0c91ad50d7e4be54a935f749e1
tree1cca629143ad5ac370129a6188f951077059b19b
parentfcc2f69a6fad1543b466db9c35aa5a2f364eb3d4
pata: expose set_mode method so it can be wrapped

This splits set_mode into do_set_mode and the wrapper so that a driver can
call the standard method inside its own.  This in theory also obsoletes
->post_set_mode().

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
include/linux/libata.h