Index: /trunk/src/VBox/Additions/linux/drm/vbox_main.c
===================================================================
--- /trunk/src/VBox/Additions/linux/drm/vbox_main.c	(revision 66523)
+++ /trunk/src/VBox/Additions/linux/drm/vbox_main.c	(revision 66524)
@@ -242,4 +242,9 @@
 }
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0)
+# define pci_iomap_range(dev, bar, offset, maxlen) \
+    ioremap(pci_resource_start(dev, bar) + offset, maxlen)
+#endif
+
 static int vbox_accel_init(struct vbox_private *vbox)
 {
@@ -302,9 +307,4 @@
            && have_cursor == VINF_SUCCESS;
 }
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0)
-# define pci_iomap_range(dev, bar, offset, maxlen) \
-    ioremap(pci_resource_start(dev, bar) + offset, maxlen)
-#endif
 
 /** Set up our heaps and data exchange buffers in VRAM before handing the rest
