summaryrefslogtreecommitdiff
path: root/target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.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
commitd85ffaabe9172deafa049bf7b4bd46b942a63f00 (patch)
tree8f079636cf6816014767dff77598f63a4871af69 /target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch
parent446409f43e9bb0157fbac3d3de3b39928f8772b7 (diff)
downloadmtk-20170518-d85ffaabe9172deafa049bf7b4bd46b942a63f00.zip
mtk-20170518-d85ffaabe9172deafa049bf7b4bd46b942a63f00.tar.gz
mtk-20170518-d85ffaabe9172deafa049bf7b4bd46b942a63f00.tar.bz2
ppc40x: remove __dev_{in,ex}it annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35918
Diffstat (limited to 'target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch')
-rw-r--r--target/linux/ppc40x/patches-3.8/101-pata-magicbox-cf-driver.patch6
1 files changed, 3 insertions, 3 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 da1c1a7..7461891 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,