13 lines
756 B
Diff
13 lines
756 B
Diff
--- 13.11/common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-11-22 19:52:37.000000000 +0100
|
|
+++ 13.11/common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-11-25 11:48:51.227678982 +0100
|
|
@@ -778,7 +778,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(3,8,0)
|
|
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)
|
|
+ pInfo->video_handle = pInfo->pcidev->dev.acpi_node.companion;
|
|
+ #elif 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;
|