aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-10 07:20:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-10 07:20:54 +0000
commit697bc122f276d6d5f283d5aef8adffa0331cdcd3 (patch)
treefed3072d8b733c452ac5e3a43d2cbf1b22cf004f /target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch
parent9ec6f799c1f5e2e92ad51d6369b551c484551fec (diff)
downloadupstream-697bc122f276d6d5f283d5aef8adffa0331cdcd3.tar.gz
upstream-697bc122f276d6d5f283d5aef8adffa0331cdcd3.tar.bz2
upstream-697bc122f276d6d5f283d5aef8adffa0331cdcd3.zip
ppc40x: remove __dev_{in,ex}it annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35918 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch')
-rw-r--r--target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch b/target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch
index c7aa6adec4..03de42e694 100644
--- a/target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch
+++ b/target/linux/ppc40x/patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch
@@ -44,7 +44,7 @@
+#define isp116x_of_delay NULL
+#endif
+
-+static int __devinit isp116x_of_probe(struct platform_device *op)
++static int isp116x_of_probe(struct platform_device *op)
+{
+ struct device_node *dn = op->dev.of_node;
+ struct usb_hcd *hcd;
@@ -164,7 +164,7 @@
+ return ret;
+}
+
-+static __devexit int isp116x_of_remove(struct platform_device *op)
++static int isp116x_of_remove(struct platform_device *op)
+{
+ struct usb_hcd *hcd = dev_get_drvdata(&op->dev);
+ struct isp116x *isp116x;
@@ -202,7 +202,7 @@
+
+static struct platform_driver isp116x_of_platform_driver = {
+ .probe = isp116x_of_probe,
-+ .remove = __devexit_p(isp116x_of_remove),
++ .remove = isp116x_of_remove,
+ .driver = {
+ .name = "isp116x-hcd-of",
+ .owner = THIS_MODULE,