libata-sff: add ata_sff_queue_work() & ata_sff_queue_delayed_work()
authorViresh Kumar <viresh.kumar@st.com>
Tue, 22 Feb 2011 09:02:38 +0000 (14:32 +0530)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 14 Mar 2011 06:52:41 +0000 (02:52 -0400)
commit64b97594251bb909d74d64012a2b9e5cc32bb11d
treec1b857de305f0fc403efaab8b17ddf1711010656
parent64a3903d0885879ba8706a8bcf71c5e3e7664db2
libata-sff: add ata_sff_queue_work() & ata_sff_queue_delayed_work()

This patch adds ata_sff_queue_work() & ata_sff_queue_delayed_work() routine in
libata-sff.c file. This routine can be used by ata drivers to use ata_sff_wq.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/ata/libata-sff.c
include/linux/libata.h