forked from pool/virtualbox
d9d5fe30bb
- Fix build for SLE15 SP1 - add file "fixes_for_SLE15.patch" OBS-URL: https://build.opensuse.org/request/show/709210 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=493
17 lines
677 B
Diff
17 lines
677 B
Diff
Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
===================================================================
|
|
--- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
+++ VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
@@ -283,11 +283,6 @@ static struct drm_driver driver = {
|
|
.lastclose = vbox_driver_lastclose,
|
|
.master_set = vbox_master_set,
|
|
.master_drop = vbox_master_drop,
|
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73)
|
|
-# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) && !defined(RHEL_75)
|
|
- .set_busid = drm_pci_set_busid,
|
|
-# endif
|
|
-#endif
|
|
|
|
.fops = &vbox_fops,
|
|
.irq_handler = vbox_irq_handler,
|