ACPI/PCI: Negotiate _OSC control bits before requesting them
[deliverable/linux.git] / drivers / pci / pcie / pme / pcie_pme.h
1 /*
2 * drivers/pci/pcie/pme/pcie_pme.h
3 *
4 * PCI Express Root Port PME signaling support
5 *
6 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
7 */
8
9 #ifndef _PCIE_PME_H_
10 #define _PCIE_PME_H_
11
12 struct pcie_device;
13
14 #ifdef CONFIG_ACPI
15 extern int pcie_pme_acpi_setup(struct pcie_device *srv);
16
17 static inline int pcie_pme_platform_notify(struct pcie_device *srv)
18 {
19 return pcie_pme_acpi_setup(srv);
20 }
21 #else /* !CONFIG_ACPI */
22 static inline int pcie_pme_platform_notify(struct pcie_device *srv)
23 {
24 return 0;
25 }
26 #endif /* !CONFIG_ACPI */
27
28 #endif
This page took 0.031451 seconds and 5 git commands to generate.