Description: Remove __devinit/__devexit for Linux 3.8
Author: Simon Richter <sjr@debian.org>
Last-Update: 2013-03-11

Index: langford-0.0.20130221/langford.c
===================================================================
--- langford-0.0.20130221.orig/langford.c	2013-04-04 18:18:31.511471724 +0200
+++ langford-0.0.20130221/langford.c	2013-04-04 18:18:35.571471633 +0200
@@ -913,7 +913,7 @@
 
 Be sure to perform the exact opposite of this function in driver_remove
 */
-static int __devinit driver_probe(struct pci_dev *dev, const struct pci_device_id *id) {
+static int driver_probe(struct pci_dev *dev, const struct pci_device_id *id) {
 	int		rc;
 
 	printk(KERN_INFO DRIVER_NAME " Probing and setting up device...\n");
@@ -1041,7 +1041,7 @@
 
 Be sure to undo all the changes made by driver_probe
 */
-static void __devexit driver_remove(struct pci_dev *dev) {
+static void driver_remove(struct pci_dev *dev) {
 	printk(KERN_INFO DRIVER_NAME " Removing device...\n");
 	reset_dma();
 	pci_iounmap(dev, DevPrivData->pBar1);
@@ -1064,7 +1064,7 @@
 	.name = DRIVER_NAME,
 	.id_table = driver_ids,
 	.probe = driver_probe,
-	.remove = __devexit_p(driver_remove),
+	.remove = driver_remove,
 };
 
 
