summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorTejun Heo2006-06-24 13:30:19 +0200
committerJeff Garzik2006-06-27 02:59:27 +0200
commit77b08fb56a41e84b5e78b14f24d79879235e3337 (patch)
treefd91513aa74ea2d87bb5352b533a6985595778c7 /drivers/scsi/libata-core.c
parent[PATCH] libata: update ata_do_simple_cmd() (diff)
downloadkernel-qcow2-linux-77b08fb56a41e84b5e78b14f24d79879235e3337.tar.gz
kernel-qcow2-linux-77b08fb56a41e84b5e78b14f24d79879235e3337.tar.xz
kernel-qcow2-linux-77b08fb56a41e84b5e78b14f24d79879235e3337.zip
[PATCH] libata: make two functions global
Make ata_do_simple_cmd() and ata_flush_cache() global. These will be used from libata-eh.c. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 4a44e759e45a..60e80e3a8858 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -1145,7 +1145,7 @@ unsigned ata_exec_internal(struct ata_device *dev,
* RETURNS:
* Zero on success, AC_ERR_* mask on failure
*/
-static unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd)
+unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd)
{
struct ata_taskfile tf;
@@ -4973,7 +4973,7 @@ int ata_port_offline(struct ata_port *ap)
return 0;
}
-static int ata_flush_cache(struct ata_device *dev)
+int ata_flush_cache(struct ata_device *dev)
{
unsigned int err_mask;
u8 cmd;