diff options
author | Tejun Heo <htejun@gmail.com> | 2007-05-17 16:43:26 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-17 20:57:38 -0400 |
commit | d9aca22cf443f5ed77d15a320abbab055ae4a976 (patch) | |
tree | a808d879baf21a557a93e9ef3a0d96b004985f8b /drivers/ata/libata.h | |
parent | 1daf9ce74e0e0ef8ffde800ab495339458c3375f (diff) | |
download | linux-d9aca22cf443f5ed77d15a320abbab055ae4a976.tar.gz linux-d9aca22cf443f5ed77d15a320abbab055ae4a976.tar.bz2 linux-d9aca22cf443f5ed77d15a320abbab055ae4a976.zip |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 13cb0c9af68d..5e2466658420 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, |