Gentoo Archives: gentoo-commits

From: "Vikraman Choudhury (vikraman)" <vikraman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-block/rts5229/files: rts5229-linux-3.8.patch
Date: Tue, 28 May 2013 19:50:59
Message-Id: 20130528195052.2492C2171E@flycatcher.gentoo.org
1 vikraman 13/05/28 19:50:52
2
3 Added: rts5229-linux-3.8.patch
4 Log:
5 Patch to fix build on linux 3.8
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/rts5229/files/rts5229-linux-3.8.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/rts5229/files/rts5229-linux-3.8.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/rts5229/files/rts5229-linux-3.8.patch?rev=1.1&content-type=text/plain
14
15 Index: rts5229-linux-3.8.patch
16 ===================================================================
17 --- rts5229.a/rtsx.c 2012-03-21 07:10:18.000000000 +0530
18 +++ rts5229.b/rtsx.c 2013-05-29 01:06:32.333737569 +0530
19 @@ -911,7 +911,7 @@
20 chip->support_mmc = 1;
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 @@ -1066,7 +1066,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 @@ -1092,7 +1092,7 @@
38 .name = CR_DRIVER_NAME,
39 .id_table = rts5229_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,