summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikraman Choudhury <vikraman@gentoo.org>2013-05-28 19:50:52 +0000
committerVikraman Choudhury <vikraman@gentoo.org>2013-05-28 19:50:52 +0000
commitf87d7280d606714a76ebfa603141b4717a8dbbf5 (patch)
tree64fb284429f3e5e188e221a38c7ba5b5fd8ac237 /sys-block/rts5229/files
parentPatch to fix build on linux 3.8, fixes bug #471606 (diff)
downloadgentoo-2-f87d7280d606714a76ebfa603141b4717a8dbbf5.tar.gz
gentoo-2-f87d7280d606714a76ebfa603141b4717a8dbbf5.tar.bz2
gentoo-2-f87d7280d606714a76ebfa603141b4717a8dbbf5.zip
Patch to fix build on linux 3.8
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key B0A72FD2)
Diffstat (limited to 'sys-block/rts5229/files')
-rw-r--r--sys-block/rts5229/files/rts5229-linux-3.8.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-block/rts5229/files/rts5229-linux-3.8.patch b/sys-block/rts5229/files/rts5229-linux-3.8.patch
new file mode 100644
index 000000000000..81779aef2767
--- /dev/null
+++ b/sys-block/rts5229/files/rts5229-linux-3.8.patch
@@ -0,0 +1,29 @@
+--- rts5229.a/rtsx.c 2012-03-21 07:10:18.000000000 +0530
++++ rts5229.b/rtsx.c 2013-05-29 01:06:32.333737569 +0530
+@@ -911,7 +911,7 @@
+ chip->support_mmc = 1;
+ }
+
+-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;
+@@ -1066,7 +1066,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);
+
+@@ -1092,7 +1092,7 @@
+ .name = CR_DRIVER_NAME,
+ .id_table = rts5229_ids,
+ .probe = rtsx_probe,
+- .remove = __devexit_p(rtsx_remove),
++ .remove = rtsx_remove,
+ #ifdef CONFIG_PM
+ .suspend = rtsx_suspend,
+ .resume = rtsx_resume,