summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-05-17 16:43:26 +0200
committerJeff Garzik <jeff@garzik.org>2007-05-17 20:57:38 -0400
commitd9aca22cf443f5ed77d15a320abbab055ae4a976 (patch)
treea808d879baf21a557a93e9ef3a0d96b004985f8b /drivers/ata/libata.h
parent1daf9ce74e0e0ef8ffde800ab495339458c3375f (diff)
downloadop-kernel-dev-d9aca22cf443f5ed77d15a320abbab055ae4a976.zip
op-kernel-dev-d9aca22cf443f5ed77d15a320abbab055ae4a976.tar.gz
libata: remove libata.spindown_compat
With STANDBYDOWN tracking added, libata.spindown_compat isn't necessary anymore. If userspace shutdown(8) issues STANDBYNOW, libata warns. If userspace shutdown(8) doesn't issue STANDBYNOW, libata does the right thing. Userspace can tell whether kernel supports spindown by testing whether sysfs node manage_start_stop exists as before. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 13cb0c9..5e24666 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -58,7 +58,6 @@ extern int atapi_enabled;
extern int atapi_dmadir;
extern int libata_fua;
extern int libata_noacpi;
-extern int ata_spindown_compat;
extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev);
extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev,
u64 block, u32 n_block, unsigned int tf_flags,
OpenPOWER on IntegriCloud