Changeset 42164 in vbox
- Timestamp:
- Jul 16, 2012 12:55:41 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79143
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r39832 r42164 68 68 # define DRM_RHEL61 69 69 # endif 70 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,3) 71 # define DRM_RHEL63 72 # endif 70 73 # endif 71 74 # endif … … 86 89 #endif 87 90 } 88 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) 91 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) || defined(DRM_RHEL63) 89 92 /* since linux-3.3.0-rc1 drm_driver::fops is pointer */ 90 93 static struct file_operations driver_fops = … … 110 113 .get_reg_ofs = drm_core_get_reg_ofs, 111 114 #endif 112 # if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) 115 # if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) && !defined(DRM_RHEL63) 113 116 .fops = 114 117 { … … 127 130 .fasync = drm_fasync, 128 131 }, 129 #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) */132 #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) || defined(DRM_RHEL63) */ 130 133 .fops = &driver_fops, 131 134 #endif
Note:
See TracChangeset
for help on using the changeset viewer.