diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 13813b0592fc..163b45241729 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -128,6 +128,7 @@ struct pci_cap_saved_state { | |||
128 | u32 data[0]; | 128 | u32 data[0]; |
129 | }; | 129 | }; |
130 | 130 | ||
131 | struct pcie_link_state; | ||
131 | /* | 132 | /* |
132 | * The pci_dev structure is used to describe PCI devices. | 133 | * The pci_dev structure is used to describe PCI devices. |
133 | */ | 134 | */ |
@@ -163,6 +164,10 @@ struct pci_dev { | |||
163 | this is D0-D3, D0 being fully functional, | 164 | this is D0-D3, D0 being fully functional, |
164 | and D3 being off. */ | 165 | and D3 being off. */ |
165 | 166 | ||
167 | #ifdef CONFIG_PCIEASPM | ||
168 | struct pcie_link_state *link_state; /* ASPM link state. */ | ||
169 | #endif | ||
170 | |||
166 | pci_channel_state_t error_state; /* current connectivity state */ | 171 | pci_channel_state_t error_state; /* current connectivity state */ |
167 | struct device dev; /* Generic device interface */ | 172 | struct device dev; /* Generic device interface */ |
168 | 173 | ||