diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-10 20:26:28 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-10 20:26:28 +0000 |
commit | 5b4c3e80989e9a91b11d70cfa899966416fa0bd8 (patch) | |
tree | a01a995f7b7b7f153192fc91f6df26a4e212b127 | |
parent | f32b22c8c9012229b4e74d4d3d217add4269c1ea (diff) | |
download | master-187ad058-5b4c3e80989e9a91b11d70cfa899966416fa0bd8.tar.gz master-187ad058-5b4c3e80989e9a91b11d70cfa899966416fa0bd8.tar.bz2 master-187ad058-5b4c3e80989e9a91b11d70cfa899966416fa0bd8.zip |
xburst: fix compilation: remove the __dev attributes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35946 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/xburst/patches-3.8/0002-Add-jz4740-udc-driver.patch | 6 | ||||
-rw-r--r-- | target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch | 6 |
2 files changed, 6 insertions, 6 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 8896d62b8a..05a433a7cb 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, diff --git a/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch b/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch index 3bb6881d47..37fa931fa3 100644 --- a/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch +++ b/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch @@ -186,7 +186,7 @@ Subject: [PATCH 07/21] Add ili8960 lcd driver + .set_mode = ili8960_set_mode, +}; + -+static int __devinit ili8960_probe(struct spi_device *spi) ++static int ili8960_probe(struct spi_device *spi) +{ + int ret; + struct ili8960 *ili8960; @@ -236,7 +236,7 @@ Subject: [PATCH 07/21] Add ili8960 lcd driver + return ret; +} + -+static int __devexit ili8960_remove(struct spi_device *spi) ++static int ili8960_remove(struct spi_device *spi) +{ + struct ili8960 *ili8960 = spi_get_drvdata(spi); + @@ -281,7 +281,7 @@ Subject: [PATCH 07/21] Add ili8960 lcd driver + .owner = THIS_MODULE, + }, + .probe = ili8960_probe, -+ .remove = __devexit_p(ili8960_remove), ++ .remove = ili8960_remove, + .suspend = ili8960_suspend, + .resume = ili8960_resume, +}; |