| OLD | NEW |
| 1 #ifndef LINUX_26_26_COMPAT_H | 1 #ifndef LINUX_26_26_COMPAT_H |
| 2 #define LINUX_26_26_COMPAT_H | 2 #define LINUX_26_26_COMPAT_H |
| 3 | 3 |
| 4 #include <linux/version.h> | 4 #include <linux/version.h> |
| 5 | 5 |
| 6 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) | 6 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) |
| 7 | 7 |
| 8 #include <linux/device.h> | 8 #include <linux/device.h> |
| 9 #include <linux/list.h> | 9 #include <linux/list.h> |
| 10 #include <linux/kernel.h> | 10 #include <linux/kernel.h> |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 #elif defined(__XTENSA_EB__) | 387 #elif defined(__XTENSA_EB__) |
| 388 # include <linux/unaligned/be_memmove.h> | 388 # include <linux/unaligned/be_memmove.h> |
| 389 # include <linux/unaligned/le_byteshift.h> | 389 # include <linux/unaligned/le_byteshift.h> |
| 390 # include <linux/unaligned/generic.h> | 390 # include <linux/unaligned/generic.h> |
| 391 #else | 391 #else |
| 392 # error processor byte order undefined! | 392 # error processor byte order undefined! |
| 393 #endif | 393 #endif |
| 394 | 394 |
| 395 #endif /* xtensa */ | 395 #endif /* xtensa */ |
| 396 | 396 |
| 397 #define PCIE_LINK_STATE_L0S 1 |
| 398 #define PCIE_LINK_STATE_L1 2 |
| 399 #define PCIE_LINK_STATE_CLKPM 4 |
| 400 |
| 401 static inline void pci_disable_link_state(struct pci_dev *pdev, int state) |
| 402 { |
| 403 } |
| 404 /* source: include/linux/pci-aspm.h */ |
| 405 |
| 397 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) */ | 406 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) */ |
| 398 | 407 |
| 399 #endif /* LINUX_26_26_COMPAT_H */ | 408 #endif /* LINUX_26_26_COMPAT_H */ |
| OLD | NEW |