summaryrefslogtreecommitdiff
path: root/target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-03-10 20:26:28 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-03-10 20:26:28 +0000
commit89d4fceee2980ef845e9d630f5e67231840b7490 (patch)
tree9c3caef0d0b65270ce749534e1915a349ea598b2 /target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch
parent45b24fa771413aadb559300c73a69e55ed8b0435 (diff)
downloadmtk-20170518-89d4fceee2980ef845e9d630f5e67231840b7490.zip
mtk-20170518-89d4fceee2980ef845e9d630f5e67231840b7490.tar.gz
mtk-20170518-89d4fceee2980ef845e9d630f5e67231840b7490.tar.bz2
xburst: fix compilation: remove the __dev attributes
SVN-Revision: 35946
Diffstat (limited to 'target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch')
-rw-r--r--target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch b/target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch
index 8896d62..05a433a 100644
--- a/target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch
+++ b/target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch
@@ -2096,7 +2096,7 @@ History:
+ },
+};
+
-+static int __devinit jz4740_udc_probe(struct platform_device *pdev)
++static int jz4740_udc_probe(struct platform_device *pdev)
+{
+ struct jz4740_udc *jz4740_udc = &jz4740_udc_controller;
+ int ret;
@@ -2179,7 +2179,7 @@ History:
+ return ret;
+}
+
-+static int __devexit jz4740_udc_remove(struct platform_device *pdev)
++static int jz4740_udc_remove(struct platform_device *pdev)
+{
+ struct jz4740_udc *dev = platform_get_drvdata(pdev);
+
@@ -2231,7 +2231,7 @@ History:
+
+static struct platform_driver udc_driver = {
+ .probe = jz4740_udc_probe,
-+ .remove = __devexit_p(jz4740_udc_remove),
++ .remove = jz4740_udc_remove,
+ .driver = {
+ .name = "jz-udc",
+ .owner = THIS_MODULE,