Changeset 52017 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 14, 2014 7:20:14 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94989
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r50946 r52017 63 63 #endif 64 64 65 /* The first of these was introduced when drm was generalised to work with 66 * non-PCI buses, but was removed between 3.15 and 3.16. The second is a 67 * random definition introduced in the mean-time. */ 68 #if defined(DRIVER_BUS_PCI) || defined(DRIVER_PRIME) 69 # define DRM_NEW_BUS_INIT 1 70 #endif 71 65 72 static struct pci_device_id pciidlist[] = { 66 73 vboxvideo_PCI_IDS … … 110 117 .fops = &driver_fops, 111 118 #endif 112 #ifndef DR IVER_BUS_PCI119 #ifndef DRM_NEW_BUS_INIT 113 120 .pci_driver = 114 121 { … … 125 132 }; 126 133 127 #ifdef DR IVER_BUS_PCI134 #ifdef DRM_NEW_BUS_INIT 128 135 static struct pci_driver pci_driver = 129 136 { … … 135 142 static int __init vboxvideo_init(void) 136 143 { 137 #ifndef DR IVER_BUS_PCI144 #ifndef DRM_NEW_BUS_INIT 138 145 return drm_init(&driver); 139 146 #else … … 144 151 static void __exit vboxvideo_exit(void) 145 152 { 146 #ifndef DR IVER_BUS_PCI153 #ifndef DRM_NEW_BUS_INIT 147 154 drm_exit(&driver); 148 155 #else
Note:
See TracChangeset
for help on using the changeset viewer.