--- a/kcl_acpi.c        2012-10-23 22:44:52.000000000 +0200
+++ b/kcl_acpi.c        2012-12-22 22:11:30.289750331 +0100
@@ -775,7 +775,9 @@
 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(2,6,19)
+    #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
+        pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
+    #elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
         pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
     #else 
         pInfo->video_handle = pInfo->pcidev->dev.firmware_data;


** Changed in: fglrx-installer (Ubuntu)
     Assignee: (unassigned) => Alberto Milone (albertomilone)

** Patch added: "fix-build-kernel-3.8.patch"
   
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1095755/+attachment/3474436/+files/fix-build-kernel-3.8.patch

** Changed in: fglrx-installer (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095755

Title:
  fails to build with 3.8 kernels

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1095755/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to