crypto: n2 - use __devexit not __exit in n2_unregister_algs
authorDennis Gilmore <dgilmore@redhat.com>
Thu, 6 Jan 2011 06:15:31 +0000 (17:15 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Jan 2011 06:15:31 +0000 (17:15 +1100)
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>
drivers/crypto/n2_core.c

index 88ee01510ec0132d894763dc9ac967b101ea0439..337249155c055f23542b3ad2fccd836c0a599be4 100644 (file)
@@ -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)