Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
[linux/fpc-iii.git] / drivers / pci / pcie / pme / pcie_pme.h
blobb30d2b7c9775bf63b42e71fe378264cf249978e6
1 /*
2 * drivers/pci/pcie/pme/pcie_pme.h
4 * PCI Express Root Port PME signaling support
6 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
7 */
9 #ifndef _PCIE_PME_H_
10 #define _PCIE_PME_H_
12 struct pcie_device;
14 #ifdef CONFIG_ACPI
15 extern int pcie_pme_acpi_setup(struct pcie_device *srv);
17 static inline int pcie_pme_platform_notify(struct pcie_device *srv)
19 return pcie_pme_acpi_setup(srv);
21 #else /* !CONFIG_ACPI */
22 static inline int pcie_pme_platform_notify(struct pcie_device *srv)
24 return 0;
26 #endif /* !CONFIG_ACPI */
28 #endif