| | 163 | |
| | 164 | actually a nit was luring which requires the following diff on the diffs above for the final changes to work with real old kernels (3.16.0) |
| | 165 | |
| | 166 | {{{ |
| | 167 | $ svn diff |
| | 168 | Index: src/VBox/Additions/linux/drm/vbox_drv.c |
| | 169 | =================================================================== |
| | 170 | --- src/VBox/Additions/linux/drm/vbox_drv.c (revision 136167) |
| | 171 | +++ src/VBox/Additions/linux/drm/vbox_drv.c (working copy) |
| | 172 | @@ -36,10 +36,10 @@ |
| | 173 | #include <linux/console.h> |
| | 174 | #include <linux/vt_kern.h> |
| | 175 | |
| | 176 | +#include "vbox_drv.h" |
| | 177 | + |
| | 178 | #include <drm/drm_crtc_helper.h> |
| | 179 | |
| | 180 | -#include "vbox_drv.h" |
| | 181 | - |
| | 182 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) || defined(RHEL_81) |
| | 183 | #include <drm/drm_probe_helper.h> |
| | 184 | #endif |
| | 185 | Index: src/VBox/Additions/linux/drm/vbox_fb.c |
| | 186 | =================================================================== |
| | 187 | --- src/VBox/Additions/linux/drm/vbox_fb.c (revision 136167) |
| | 188 | +++ src/VBox/Additions/linux/drm/vbox_fb.c (working copy) |
| | 189 | @@ -42,11 +42,12 @@ |
| | 190 | #include <linux/fb.h> |
| | 191 | #include <linux/init.h> |
| | 192 | |
| | 193 | +#include "vbox_drv.h" |
| | 194 | + |
| | 195 | #include <drm/drm_crtc.h> |
| | 196 | #include <drm/drm_fb_helper.h> |
| | 197 | #include <drm/drm_crtc_helper.h> |
| | 198 | |
| | 199 | -#include "vbox_drv.h" |
| | 200 | #include <VBoxVideo.h> |
| | 201 | |
| | 202 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) && !defined(RHEL_74) |
| | 203 | |
| | 204 | }}} |