Changeset 39708 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 6, 2012 12:42:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r37351 r39708 113 113 .fasync = drm_fasync, 114 114 }, 115 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) 115 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61) 116 116 .pci_driver = 117 117 { … … 128 128 }; 129 129 130 #if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 39) 130 #if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61) 131 131 static struct pci_driver pci_driver = 132 132 { … … 138 138 static int __init vboxvideo_init(void) 139 139 { 140 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) 140 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61) 141 141 return drm_init(&driver); 142 142 #else … … 147 147 static void __exit vboxvideo_exit(void) 148 148 { 149 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) 149 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61) 150 150 drm_exit(&driver); 151 151 #else
Note:
See TracChangeset
for help on using the changeset viewer.