chithanh    14/10/23 14:09:03

  Added:                fix-the-linux-3.17-no_hotplug-error.patch
  Log:
  Version bump. Import of Emil Karlson's ebuild from the x11 overlay.
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
0x2324E7B566DF2611!)

Revision  Changes    Path
1.1                  
x11-drivers/ati-drivers/files/fix-the-linux-3.17-no_hotplug-error.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/ati-drivers/files/fix-the-linux-3.17-no_hotplug-error.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/ati-drivers/files/fix-the-linux-3.17-no_hotplug-error.patch?rev=1.1&content-type=text/plain

Index: fix-the-linux-3.17-no_hotplug-error.patch
===================================================================
--- common/lib/modules/fglrx/build_mod/kcl_acpi.c.orig  2014-07-11 
11:46:19.000000000 +0200
+++ common/lib/modules/fglrx/build_mod/kcl_acpi.c       2014-10-08 
15:12:55.535638391 +0200
@@ -829,6 +829,7 @@
 
 static acpi_status KCL_ACPI_Slot_No_Hotplug(KCL_ACPI_DevHandle handle, u32 
lvl, void *data, void **rv)
 {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0)
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,7)
    struct acpi_device *tdev;
    struct pci_dev *pdev = (struct pci_dev *)data;
@@ -844,6 +845,7 @@
       }
    }
 #endif
+#endif
    return 0;
 }
 




Reply via email to