summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorDennis Gilmore <dgilmore@redhat.com>2011-01-06 17:15:31 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2011-01-06 17:15:31 +1100
commitdffa18449a334cf436c1fabfb2fcf7d4240c994b (patch)
tree7833e1a1b6148f25c86f442573e95cc026f06d69 /drivers/crypto
parentc73b7d02da9bfb4fadafc118a24ee868708839b6 (diff)
downloadlinux-3.10-dffa18449a334cf436c1fabfb2fcf7d4240c994b.tar.gz
linux-3.10-dffa18449a334cf436c1fabfb2fcf7d4240c994b.tar.bz2
linux-3.10-dffa18449a334cf436c1fabfb2fcf7d4240c994b.zip
crypto: n2 - use __devexit not __exit in n2_unregister_algs
fixes fedora sparc build failure, thanks to kylem for helping with debugging Signed-off-by: Dennis Gilmore <dgilmore@redhat.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/n2_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c
index 88ee01510ec..337249155c0 100644
--- a/drivers/crypto/n2_core.c
+++ b/drivers/crypto/n2_core.c
@@ -1542,7 +1542,7 @@ out:
return err;
}
-static void __exit n2_unregister_algs(void)
+static void __devexit n2_unregister_algs(void)
{
mutex_lock(&spu_lock);
if (!--algs_registered)