Changeset 49428 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Nov 8, 2013 5:05:25 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 90512
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r48422 r49428 156 156 .fops = &driver_fops, 157 157 #endif 158 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && !defined(DRM_RHEL61)158 #ifndef DRIVER_BUS_PCI 159 159 .pci_driver = 160 160 { … … 171 171 }; 172 172 173 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39) || defined(DRM_RHEL61)173 #ifdef DRIVER_BUS_PCI 174 174 static struct pci_driver pci_driver = 175 175 { … … 181 181 static int __init vboxvideo_init(void) 182 182 { 183 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && !defined(DRM_RHEL61)183 #ifndef DRIVER_BUS_PCI 184 184 return drm_init(&driver); 185 185 #else … … 190 190 static void __exit vboxvideo_exit(void) 191 191 { 192 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && !defined(DRM_RHEL61)192 #ifndef DRIVER_BUS_PCI 193 193 drm_exit(&driver); 194 194 #else
Note:
See TracChangeset
for help on using the changeset viewer.