Changeset 79690 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jul 11, 2019 11:59:17 AM (6 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.c
r79025 r79690 322 322 .master_set = vbox_master_set, 323 323 .master_drop = vbox_master_drop, 324 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_7 3)324 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_72) 325 325 # if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) && !defined(RHEL_75) \ 326 326 && !defined(OPENSUSE_151) … … 373 373 return -EINVAL; 374 374 375 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73) 375 376 return pci_register_driver(&vbox_pci_driver); 377 #else 378 return drm_pci_init(&driver, &vbox_pci_driver); 379 #endif 376 380 } 377 381 378 382 static void __exit vbox_exit(void) 379 383 { 384 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73) 380 385 pci_unregister_driver(&vbox_pci_driver); 386 #else 387 drm_pci_exit(&driver, &vbox_pci_driver); 388 #endif 381 389 } 382 390 -
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r79026 r79690 426 426 spin_lock_init(&fbdev->dirty_lock); 427 427 428 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) && !defined(RHEL_7 3)428 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) && !defined(RHEL_72) 429 429 fbdev->helper.funcs = &vbox_fb_helper_funcs; 430 430 #else
Note:
See TracChangeset
for help on using the changeset viewer.