summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch')
-rw-r--r--x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch b/x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch
deleted file mode 100644
index 432e6666..00000000
--- a/x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 6ea087272c0774fc86693a6fc379a2226e10b323 Mon Sep 17 00:00:00 2001
-From: Alberto Milone <alberto.milone@canonical.com>
-Date: Wed, 8 Jan 2014 16:09:58 +0100
-Subject: [PATCH 1/1] Add support for Linux 3.13
-
-Do not use the ACPI handle which was removed from struct acpi_dev_node
-in Linux 3.13. Use the ACPI companion device instead.
----
- kcl_acpi.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/kcl_acpi.c b/kcl_acpi.c
-index 5eb9fb1..96b6113 100755
---- a/common/lib/modules/fglrx/build_mod/kcl_acpi.c
-+++ b/common/lib/modules/fglrx/build_mod/kcl_acpi.c
-@@ -793,7 +793,11 @@ unsigned int ATI_API_CALL KCL_ACPI_GetHandles(kcl_match_info_t *pInfo)
- {
- #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)
-+ pInfo->video_handle = pInfo->pcidev->dev.acpi_node.companion;
-+ #else
- pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
-+ #endif
- #elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
- pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
- #else
---
-1.7.9.5
-