summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre/003-linux-3.8.patch
blob: 0c6d9fbbfdc25d648fd08b926f5fe494b25638ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c	(revision 43343)
+++ b/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c	(revision 44317)
@@ -196,7 +196,11 @@
 
 
 /** PCI hotplug structure. */
-static const struct pci_device_id __devinitdata g_VBoxGuestPciId[] =
+static const struct pci_device_id
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0)
+__devinitdata
+#endif
+g_VBoxGuestPciId[] =
 {
     {
         vendor:     VMMDEV_VENDORID,