From: Dennis Gilmore Date: Thu, 6 Jan 2011 06:15:31 +0000 (+1100) Subject: crypto: n2 - use __devexit not __exit in n2_unregister_algs X-Git-Tag: v2.6.38-rc1~238^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dffa18449a334cf436c1fabfb2fcf7d4240c994b;p=karo-tx-linux.git 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 Acked-by: David S. Miller Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c index 88ee01510ec0..337249155c05 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)