Created
January 2, 2015 14:09
-
-
Save levex/e8109f6ba65fbc704665 to your computer and use it in GitHub Desktop.
AMD fglrx kernel driver patch for 3.17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- common/lib/modules/fglrx/build_mod/kcl_acpi.c 2014-09-23 10:42:10.000000000 -0400 | |
+++ common/lib/modules/fglrx/build_mod/kcl_acpi.c 2014-11-13 16:44:23.187112123 -0500 | |
@@ -831,7 +831,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,12,7) | |
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,7) && LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) | |
struct acpi_device *tdev = NULL; | |
struct pci_dev *pdev = (struct pci_dev *)data; | |
int device = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment