* [PATCH] fix building pcie portdrv_pci.c without CONFIG_PM
@ 2006-10-24 15:53 Arnd Bergmann
2006-10-24 23:03 ` Paul Mackerras
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2006-10-24 15:53 UTC (permalink / raw)
To: linux-kernel; +Cc: Zhang Yanmin, Greg Kroah-Hartman, linux-pci
pcie_portdrv_restore_config is now also used outside of
CONFIG_PM.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -37,7 +37,6 @@ static int pcie_portdrv_save_config(stru
return pci_save_state(dev);
}
-#ifdef CONFIG_PM
static int pcie_portdrv_restore_config(struct pci_dev *dev)
{
int retval;
@@ -50,6 +49,7 @@ static int pcie_portdrv_restore_config(s
return 0;
}
+#ifdef CONFIG_PM
static int pcie_portdrv_suspend(struct pci_dev *dev, pm_message_t state)
{
int ret = pcie_port_device_suspend(dev, state);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix building pcie portdrv_pci.c without CONFIG_PM
2006-10-24 15:53 [PATCH] fix building pcie portdrv_pci.c without CONFIG_PM Arnd Bergmann
@ 2006-10-24 23:03 ` Paul Mackerras
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 2006-10-24 23:03 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, Zhang Yanmin, Greg Kroah-Hartman, linux-pci
Arnd Bergmann writes:
> pcie_portdrv_restore_config is now also used outside of
> CONFIG_PM.
That's upstream already...
Paul.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-24 23:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-24 15:53 [PATCH] fix building pcie portdrv_pci.c without CONFIG_PM Arnd Bergmann
2006-10-24 23:03 ` Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome