ltq-deu: Fix section mismatches
[openwrt/staging/mkresin.git] / package / kernel / lantiq / ltq-deu / src / ifxmips_md5_hmac.c
index fc6f52ea7d7abfc86da3f7007f9151fa8e895a87..46797c972431b522d5f2d52d715ea73e6805df81 100644 (file)
@@ -344,6 +344,7 @@ static struct shash_alg ifxdeu_md5_hmac_alg = {
     .base               =       {
         .cra_name       =       "hmac(md5)",
         .cra_driver_name=       "ifxdeu-md5_hmac",
+        .cra_priority   =       400,
         .cra_ctxsize    =      sizeof(struct md5_hmac_ctx),
         .cra_flags      =       CRYPTO_ALG_TYPE_DIGEST,
         .cra_blocksize  =       MD5_HMAC_BLOCK_SIZE,
@@ -351,11 +352,11 @@ static struct shash_alg ifxdeu_md5_hmac_alg = {
         }
 };
 
-/*! \fn int __init ifxdeu_init_md5_hmac (void)
+/*! \fn int ifxdeu_init_md5_hmac (void)
  *  \ingroup IFX_MD5_HMAC_FUNCTIONS
  *  \brief initialize md5 hmac driver   
 */                                 
-int __init ifxdeu_init_md5_hmac (void)
+int ifxdeu_init_md5_hmac (void)
 {
 
     int ret = -ENOSYS;
@@ -374,11 +375,11 @@ md5_hmac_err:
     return ret;
 }
 
-/** \fn void __exit ifxdeu_fini_md5_hmac (void)
+/** \fn void ifxdeu_fini_md5_hmac (void)
  *  \ingroup IFX_MD5_HMAC_FUNCTIONS
  *  \brief unregister md5 hmac driver   
 */                                 
-void __exit ifxdeu_fini_md5_hmac (void)
+void ifxdeu_fini_md5_hmac (void)
 {
     crypto_unregister_shash(&ifxdeu_md5_hmac_alg);
 }