Fix 5.1.4 for build errors with kernel 4.8 OBS-URL: https://build.opensuse.org/request/show/426206 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=274
15 lines
580 B
Plaintext
15 lines
580 B
Plaintext
Index: VirtualBox-5.1.4/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
===================================================================
|
|
--- VirtualBox-5.1.4.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
+++ VirtualBox-5.1.4/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
@@ -64,8 +64,7 @@ MODULE_PARM_DESC(modeset, "Disable/Enabl
|
|
module_param_named(modeset, vbox_modeset, int, 0400);
|
|
|
|
static struct drm_driver driver;
|
|
-
|
|
-static DEFINE_PCI_DEVICE_TABLE(pciidlist) =
|
|
+static const struct pci_device_id pciidlist[] =
|
|
{
|
|
{0x80ee, 0xbeef, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
|
{0, 0, 0},
|