summaryrefslogtreecommitdiff
path: root/libre/oss-libre/linux-3.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/oss-libre/linux-3.8.patch')
-rw-r--r--libre/oss-libre/linux-3.8.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/libre/oss-libre/linux-3.8.patch b/libre/oss-libre/linux-3.8.patch
deleted file mode 100644
index 46200e01a..000000000
--- a/libre/oss-libre/linux-3.8.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- setup/Linux/oss/build/pci_wrapper.inc 2009-08-27 05:19:07.000000000 +0300
-+++ setup/Linux/oss/build/pci_wrapper.inc 2013-02-08 13:56:10.519794975 +0200
-@@ -17,7 +17,11 @@
- static dev_map_t dev_map[MAX_INSTANCE];
- static int n_devmap = 0;
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
- static int __devinit
-+#else
-+static int
-+#endif
- osspci_probe (struct pci_dev *pcidev, const struct pci_device_id *pciid)
- {
- oss_device_t *osdev;
-@@ -65,7 +69,11 @@
- return 0;
- }
-
--static void __devexit
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
-+static int __devexit
-+#else
-+static int
-+#endif
- osspci_remove (struct pci_dev *pcidev)
- {
- int i;
-@@ -80,10 +88,11 @@
- pci_disable_device (dev_map[i].pcidev);
- osdev_delete (osdev);
-
-- return;
-+ return 0;
- }
-
- printk (KERN_ALERT DRIVER_NICK ": Can't find the PCI device to detach\n");
-+ return -EIO;
- }
-
- void