Created
December 24, 2013 22:15
-
-
Save ScottSteiner/8118316 to your computer and use it in GitHub Desktop.
Patch for AMD's 13.12 driver which fails in debian. Run with `patch -Np1 -i ../catalyst1312.patch`
This file contains hidden or 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
--- 13.12/common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-17 20:05:35.000000000 +0100 | |
+++ 13.12/common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-19 18:40:18.386568588 +0100 | |
@@ -995,7 +995,11 @@ | |
#endif | |
{ | |
return KCL_ACPI_ERROR; | |
- } | |
+ } | |
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1) | |
+ ((acpi_tbl_table_handler)handler)(hdr); | |
+#else | |
((acpi_table_handler)handler)(hdr); | |
+#endif | |
return KCL_ACPI_OK; | |
-} | |
+} | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to Vi0l0 for the code