mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 03:54:36 +08:00
17 lines
697 B
Diff
17 lines
697 B
Diff
# diff -u kcl.acpi.c kcl.acpi.ckcl_acpi.c_20130221 kcl.acpi.c
|
|
kcl_acpi.c
|
|
--- common/lib/modules/fglrx/build_mod/kcl_acpi.c_20130221 2012-03-24 05:38:48.000000000 +0900
|
|
+++ common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-02-21 20:20:12.000000000 +0900
|
|
@@ -776,7 +776,11 @@
|
|
{
|
|
#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 = ACPI_HANDLE(&pInfo->pcidev->dev);
|
|
+ #else
|
|
pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
|
|
+ #endif
|
|
#else
|
|
pInfo->video_handle = pInfo->pcidev->dev.firmware_data;
|
|
#endif
|