Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 336467 | Differences between
and this patch

Collapse All | Expand All

(-)work.orig/common/lib/modules/fglrx/build_mod/firegl_public.c (+8 lines)
Lines 320-326 Link Here
320
    return firegl_release((KCL_IO_FILE_Handle)filp);
320
    return firegl_release((KCL_IO_FILE_Handle)filp);
321
}
321
}
322
322
323
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
324
int ip_firegl_ioctl(struct file* filp, unsigned int cmd, unsigned long arg)
325
#else
323
int ip_firegl_ioctl(struct inode* inode, struct file* filp, unsigned int cmd, unsigned long arg)
326
int ip_firegl_ioctl(struct inode* inode, struct file* filp, unsigned int cmd, unsigned long arg)
327
#endif
324
{
328
{
325
    return firegl_ioctl((KCL_IO_FILE_Handle)filp, cmd, arg);
329
    return firegl_ioctl((KCL_IO_FILE_Handle)filp, cmd, arg);
326
}
330
}
Lines 407-413 Link Here
407
#endif
411
#endif
408
    open:    ip_firegl_open,
412
    open:    ip_firegl_open,
409
    release: ip_firegl_release,
413
    release: ip_firegl_release,
414
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
415
    unlocked_ioctl:   ip_firegl_ioctl,
416
#else
410
    ioctl:   ip_firegl_ioctl,
417
    ioctl:   ip_firegl_ioctl,
418
#endif
411
    mmap:    ip_firegl_mmap,
419
    mmap:    ip_firegl_mmap,
412
420
413
    write:   ip_firegl_write,
421
    write:   ip_firegl_write,

Return to bug 336467