libata: implement sata_link_scr_lpm() and make ata_dev_set_feature() global
authorTejun Heo <tj@kernel.org>
Wed, 1 Sep 2010 15:50:05 +0000 (17:50 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 22 Oct 2010 00:21:04 +0000 (20:21 -0400)
commit1152b2617a6e1943b6b82e07c962950e56f1000c
tree820b7ca42901b42b1ac5688dcba1f55a5930e176
parentc93b263e0d4fa8ce5fec0142a98196d1a127e845
libata: implement sata_link_scr_lpm() and make ata_dev_set_feature() global

Link power management is about to be reimplemented.  Prepare for it.

* Implement sata_link_scr_lpm().

* Drop static from ata_dev_set_feature() and make it available to
  other libata files.

* Trivial whitespace adjustments.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata.h
include/linux/libata.h