]> git.pld-linux.org Git - packages/e1000e.git/blob - linux-3.19.patch
- fix building with linux 3.19
[packages/e1000e.git] / linux-3.19.patch
1 --- e1000e-3.1.0.2/src/netdev.c~        2014-06-26 22:13:33.000000000 +0200
2 +++ e1000e-3.1.0.2/src/netdev.c 2015-03-30 19:57:06.958655445 +0200
3 @@ -7126,7 +7126,7 @@
4  #endif /* CONFIG_PM */
5  
6  #ifndef USE_LEGACY_PM_SUPPORT
7 -#ifdef CONFIG_PM_RUNTIME
8 +#if defined(CONFIG_PM_RUNTIME) || ( LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) )
9  static int e1000e_pm_runtime_idle(struct device *dev)
10  {
11         struct pci_dev *pdev = to_pci_dev(dev);
This page took 0.031955 seconds and 3 git commands to generate.