aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-03-14 18:43:07 +0000
committerJohn Crispin <blogic@openwrt.org>2013-03-14 18:43:07 +0000
commit12d7f82f5bbfa16da6d92941590bd8cf8933d38f (patch)
tree99561f3b0753bb3b388c2455a228ea74a14e8ffa /package
parenta5f72ef94c288bd5f0dc25e362ff6390b0dcf4b5 (diff)
downloadmaster-187ad058-12d7f82f5bbfa16da6d92941590bd8cf8933d38f.tar.gz
master-187ad058-12d7f82f5bbfa16da6d92941590bd8cf8933d38f.tar.bz2
master-187ad058-12d7f82f5bbfa16da6d92941590bd8cf8933d38f.zip
[lantiq] make DEU work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36021 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/platform/lantiq/ltq-deu/src/ifxmips_deu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/platform/lantiq/ltq-deu/src/ifxmips_deu.c b/package/platform/lantiq/ltq-deu/src/ifxmips_deu.c
index cec7000e88..05f168160b 100644
--- a/package/platform/lantiq/ltq-deu/src/ifxmips_deu.c
+++ b/package/platform/lantiq/ltq-deu/src/ifxmips_deu.c
@@ -78,7 +78,7 @@ void chip_version(void);
* \return ret
*/
-static int __devinit ltq_deu_probe(struct platform_device *pdev)
+static int ltq_deu_probe(struct platform_device *pdev)
{
int ret = -ENOSYS;
@@ -139,7 +139,7 @@ static int __devinit ltq_deu_probe(struct platform_device *pdev)
* \ingroup IFX_DEU_FUNCTIONS
* \brief remove the loaded crypto algorithms
*/
-static int __devexit ltq_deu_remove(struct platform_device *pdev)
+static int ltq_deu_remove(struct platform_device *pdev)
{
//#ifdef CONFIG_CRYPTO_DEV_PWR_SAVE_MODE
#if defined(CONFIG_CRYPTO_DEV_DES)
@@ -195,7 +195,7 @@ MODULE_DEVICE_TABLE(of, ltq_deu_match);
static struct platform_driver ltq_deu_driver = {
.probe = ltq_deu_probe,
- .remove = __devexit_p(ltq_deu_remove),
+ .remove = ltq_deu_remove,
.driver = {
.name = "deu",
.owner = THIS_MODULE,