* + libata-config_pm=n-compile-fix.patch added to -mm tree
@ 2007-06-05 17:36 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2007-06-05 17:36 UTC (permalink / raw)
To: mm-commits; +Cc: olof
The patch titled
libata: CONFIG_PM=n compile fix
has been added to the -mm tree. Its filename is
libata-config_pm=n-compile-fix.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: libata: CONFIG_PM=n compile fix
From: olof@lixom.net (Olof Johansson)
CONFIG_PM=n compile fix.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/ata/ahci.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff -puN drivers/ata/ahci.c~libata-config_pm=n-compile-fix drivers/ata/ahci.c
--- a/drivers/ata/ahci.c~libata-config_pm=n-compile-fix
+++ a/drivers/ata/ahci.c
@@ -1493,6 +1493,14 @@ static void ahci_post_internal_cmd(struc
}
}
+static int ahci_port_resume(struct ata_port *ap)
+{
+ ahci_power_up(ap);
+ ahci_start_port(ap);
+
+ return 0;
+}
+
#ifdef CONFIG_PM
static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg)
{
@@ -1510,14 +1518,6 @@ static int ahci_port_suspend(struct ata_
return rc;
}
-static int ahci_port_resume(struct ata_port *ap)
-{
- ahci_power_up(ap);
- ahci_start_port(ap);
-
- return 0;
-}
-
static int ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg)
{
struct ata_host *host = dev_get_drvdata(&pdev->dev);
_
Patches currently in -mm which might be from olof@lixom.net are
8xx-mpc885ads-pcmcia-support.patch
dts-kill-hardcoded-phandles.patch
libata-config_pm=n-compile-fix.patch
8xx-fix-whitespace-and-indentation.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-05 17:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 17:36 + libata-config_pm=n-compile-fix.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.