diff options
-rw-r--r-- | backport/backport-include/linux/pci-aspm.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backport/backport-include/linux/pci-aspm.h b/backport/backport-include/linux/pci-aspm.h index 367112ef..d0726776 100644 --- a/backport/backport-include/linux/pci-aspm.h +++ b/backport/backport-include/linux/pci-aspm.h @@ -1,10 +1,8 @@ #include <linux/version.h> -#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)) #include_next <linux/pci-aspm.h> -#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) */ - -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) +#else #define PCIE_LINK_STATE_L0S 1 #define PCIE_LINK_STATE_L1 2 #define PCIE_LINK_STATE_CLKPM 4 |