Changeset 39830 in vbox
- Timestamp:
- Jan 22, 2012 1:05:07 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75834
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r39762 r39830 86 86 #endif 87 87 } 88 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) 89 /* since linux-3.3.0-rc1 drm_driver::fops is pointer */ 90 static struct file_operations driver_fops = 91 { 92 .owner = THIS_MODULE, 93 .open = drm_open, 94 .release = drm_release, 95 .unlocked_ioctl = drm_ioctl, 96 .mmap = drm_mmap, 97 .poll = drm_poll, 98 .fasync = drm_fasync, 99 }; 100 #endif 88 101 89 102 static struct drm_driver driver = … … 97 110 .get_reg_ofs = drm_core_get_reg_ofs, 98 111 #endif 112 # if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) 99 113 .fops = 100 114 { … … 113 127 .fasync = drm_fasync, 114 128 }, 129 #else /* LINUX_VERSION_CODE > KERNEL_VERSION(3,3,0) */ 130 .fops = NULL, 131 #endif 115 132 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61) 116 133 .pci_driver =
Note:
See TracChangeset
for help on using the changeset viewer.