ia64/linux-2.6.18-xen.hg

changeset 781:83b71f4b5cb2

Fix !CONFIG_PM compilation problem

Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jan 20 13:28:35 2009 +0000 (2009-01-20)
parents 7ff5bab08275
children 9ab1c319531f c9783c08495c
files drivers/pci/pcie/portdrv_pci.c
line diff
     1.1 --- a/drivers/pci/pcie/portdrv_pci.c	Tue Jan 20 13:28:17 2009 +0000
     1.2 +++ b/drivers/pci/pcie/portdrv_pci.c	Tue Jan 20 13:28:35 2009 +0000
     1.3 @@ -37,7 +37,6 @@ static int pcie_portdrv_save_config(stru
     1.4  	return pci_save_state(dev);
     1.5  }
     1.6  
     1.7 -#ifdef CONFIG_PM
     1.8  static int pcie_portdrv_restore_config(struct pci_dev *dev)
     1.9  {
    1.10  	int retval;
    1.11 @@ -50,6 +49,7 @@ static int pcie_portdrv_restore_config(s
    1.12  	return 0;
    1.13  }
    1.14  
    1.15 +#ifdef CONFIG_PM
    1.16  static int pcie_portdrv_suspend(struct pci_dev *dev, pm_message_t state)
    1.17  {
    1.18  	int ret = pcie_port_device_suspend(dev, state);