From d85ffaabe9172deafa049bf7b4bd46b942a63f00 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 10 Mar 2013 07:20:54 +0000
Subject: [PATCH] ppc40x: remove __dev_{in,ex}it annotations

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35918
---
 .../ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch    | 6 +++---
 .../patches-3.8/120-usb-isp116x-hcd-add-of-binding.patch    | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch b/target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch
index da1c1a7959..7461891224 100644
--- a/target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch
+++ b/target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch
@@ -326,7 +326,7 @@
 +		      ap->ioaddr.ctl_addr);
 +}
 +
-+static int __devinit magicbox_cf_of_probe(struct platform_device *op)
++static int magicbox_cf_of_probe(struct platform_device *op)
 +{
 +	struct magicbox_cf_info *info;
 +	struct ata_host *host;
@@ -385,7 +385,7 @@
 +	return ret;
 +}
 +
-+static __devexit int magicbox_cf_of_remove(struct platform_device *op)
++static int magicbox_cf_of_remove(struct platform_device *op)
 +{
 +	struct ata_host *host = dev_get_drvdata(&op->dev);
 +	struct magicbox_cf_info *info = host->private_data;
@@ -405,7 +405,7 @@
 +
 +static struct platform_driver magicbox_cf_of_platform_driver = {
 +	.probe		= magicbox_cf_of_probe,
-+	.remove		= __devexit_p(magicbox_cf_of_remove),
++	.remove		= magicbox_cf_of_remove,
 +	.driver		= {
 +		.name = DRV_NAME,
 +		.owner = THIS_MODULE,
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,
-- 
2.30.2