Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a0f6b7e authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Jeff Garzik
Browse files

libata: remove ATA_FLAG_LPM



Commit 6b7ae954 (libata: reimplement link power
management) removed the check of ATA_FLAG_LPM but neglected to remove the flag
itself.  Do it now...

Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 9cbe056f
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -214,8 +214,7 @@ enum {
	/* ap->flags bits */
	/* ap->flags bits */


	AHCI_FLAG_COMMON		= ATA_FLAG_SATA | ATA_FLAG_PIO_DMA |
	AHCI_FLAG_COMMON		= ATA_FLAG_SATA | ATA_FLAG_PIO_DMA |
					  ATA_FLAG_ACPI_SATA | ATA_FLAG_AN |
					  ATA_FLAG_ACPI_SATA | ATA_FLAG_AN,
					  ATA_FLAG_LPM,


	ICH_MAP				= 0x90, /* ICH MAP register */
	ICH_MAP				= 0x90, /* ICH MAP register */


+0 −1
Original line number Original line Diff line number Diff line
@@ -194,7 +194,6 @@ enum {
	ATA_FLAG_ACPI_SATA	= (1 << 17), /* need native SATA ACPI layout */
	ATA_FLAG_ACPI_SATA	= (1 << 17), /* need native SATA ACPI layout */
	ATA_FLAG_AN		= (1 << 18), /* controller supports AN */
	ATA_FLAG_AN		= (1 << 18), /* controller supports AN */
	ATA_FLAG_PMP		= (1 << 19), /* controller supports PMP */
	ATA_FLAG_PMP		= (1 << 19), /* controller supports PMP */
	ATA_FLAG_LPM		= (1 << 20), /* driver can handle LPM */
	ATA_FLAG_EM		= (1 << 21), /* driver supports enclosure
	ATA_FLAG_EM		= (1 << 21), /* driver supports enclosure
					      * management */
					      * management */
	ATA_FLAG_SW_ACTIVITY	= (1 << 22), /* driver supports sw activity
	ATA_FLAG_SW_ACTIVITY	= (1 << 22), /* driver supports sw activity