summaryrefslogtreecommitdiff
path: root/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch
blob: 797b1088f31bfbf57b8c7c9868aecab0d0d14a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- rts_pstor.a/rtsx.c	2011-01-11 14:41:07.000000000 +0530
+++ rts_pstor.b/rtsx.c	2013-05-29 00:39:11.319267655 +0530
@@ -913,7 +913,7 @@
 	chip->s3_pwr_off_delay = 1000;
 }
 
-static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
+static int rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
 {
 	struct Scsi_Host *host;
 	struct rtsx_dev *dev;
@@ -1077,7 +1077,7 @@
 }
 
 
-static void __devexit rtsx_remove(struct pci_dev *pci)
+static void rtsx_remove(struct pci_dev *pci)
 {
 	struct rtsx_dev *dev = (struct rtsx_dev *)pci_get_drvdata(pci);
 
@@ -1104,7 +1104,7 @@
 	.name = CR_DRIVER_NAME,
 	.id_table = rtsx_ids,
 	.probe = rtsx_probe,
-	.remove = __devexit_p(rtsx_remove),
+	.remove = rtsx_remove,
 #ifdef CONFIG_PM
 	.suspend = rtsx_suspend,
 	.resume = rtsx_resume,