1 |
vikraman 13/05/28 19:48:25 |
2 |
|
3 |
Added: rts_pstor-linux-3.8.patch |
4 |
Log: |
5 |
Patch to fix build on linux 3.8, fixes bug #471606 |
6 |
|
7 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key B0A72FD2) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: rts_pstor-linux-3.8.patch |
16 |
=================================================================== |
17 |
--- rts_pstor.a/rtsx.c 2011-01-11 14:41:07.000000000 +0530 |
18 |
+++ rts_pstor.b/rtsx.c 2013-05-29 00:39:11.319267655 +0530 |
19 |
@@ -913,7 +913,7 @@ |
20 |
chip->s3_pwr_off_delay = 1000; |
21 |
} |
22 |
|
23 |
-static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) |
24 |
+static int rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) |
25 |
{ |
26 |
struct Scsi_Host *host; |
27 |
struct rtsx_dev *dev; |
28 |
@@ -1077,7 +1077,7 @@ |
29 |
} |
30 |
|
31 |
|
32 |
-static void __devexit rtsx_remove(struct pci_dev *pci) |
33 |
+static void rtsx_remove(struct pci_dev *pci) |
34 |
{ |
35 |
struct rtsx_dev *dev = (struct rtsx_dev *)pci_get_drvdata(pci); |
36 |
|
37 |
@@ -1104,7 +1104,7 @@ |
38 |
.name = CR_DRIVER_NAME, |
39 |
.id_table = rtsx_ids, |
40 |
.probe = rtsx_probe, |
41 |
- .remove = __devexit_p(rtsx_remove), |
42 |
+ .remove = rtsx_remove, |
43 |
#ifdef CONFIG_PM |
44 |
.suspend = rtsx_suspend, |
45 |
.resume = rtsx_resume, |