Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 498766
Collapse All | Expand All

(-)common/lib/modules/fglrx/build_mod/kcl_acpi.c.ORIG (-4 / +4 lines)
Lines 775-784 Link Here
775
unsigned int ATI_API_CALL KCL_ACPI_GetHandles(kcl_match_info_t *pInfo)
775
unsigned int ATI_API_CALL KCL_ACPI_GetHandles(kcl_match_info_t *pInfo)
776
{
776
{
777
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
777
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
778
    #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
778
    #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)
779
        pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
779
        pInfo->video_handle = (acpi_handle)ACPI_HANDLE(&pInfo->pcidev->dev);
780
    #else 
780
    #else
781
        pInfo->video_handle = pInfo->pcidev->dev.firmware_data;
781
        pInfo->video_handle = DEVICE_ACPI_HANDLE(&pInfo->pcidev->dev);
782
    #endif    
782
    #endif    
783
    if ( pInfo->video_handle &&
783
    if ( pInfo->video_handle &&
784
        (KCL_ACPI_videoDevice(pInfo->video_handle) != KCL_ACPI_OK) )
784
        (KCL_ACPI_videoDevice(pInfo->video_handle) != KCL_ACPI_OK) )

Return to bug 498766