- pcie_portdrv_restore_config-undefined-without-config_pm.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     pcie_portdrv_restore_config undefined without CONFIG_PM

has been removed from the -mm tree.  Its filename is

     pcie_portdrv_restore_config-undefined-without-config_pm.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: pcie_portdrv_restore_config undefined without CONFIG_PM
From: "Zhang, Yanmin" <yanmin_zhang@xxxxxxxxxxxxxxx>

  PCI-Express AER implemetation: pcie_portdrv error handler

This patch breaks if CONFIG_PM is not enabled,
pcie_portdrv_restore_config() will be undefined.

Move the definition of pcie_portdrv_restore_config out of CONFIG_PM.

Signed-off-by: Zhang Yanmin <yanmin.zhang@xxxxxxxxx>
Cc: Olaf Hering <olaf@xxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/pci/pcie/portdrv_pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/pci/pcie/portdrv_pci.c~pcie_portdrv_restore_config-undefined-without-config_pm drivers/pci/pcie/portdrv_pci.c
--- a/drivers/pci/pcie/portdrv_pci.c~pcie_portdrv_restore_config-undefined-without-config_pm
+++ a/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);
_

Patches currently in -mm which might be from yanmin_zhang@xxxxxxxxxxxxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux