kernel/crypto/fcrypt.c
.. .. @@ -391,6 +391,7 @@ 391 391 392 392 static struct crypto_alg fcrypt_alg = { 393 393 .cra_name = "fcrypt", 394 + .cra_driver_name = "fcrypt-generic",394 395 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 395 396 .cra_blocksize = 8, 396 397 .cra_ctxsize = sizeof(struct fcrypt_ctx), .. .. @@ -414,7 +415,7 @@ 414 415 crypto_unregister_alg(&fcrypt_alg); 415 416 } 416 417 417 -module_init(fcrypt_mod_init);418 +subsys_initcall(fcrypt_mod_init);418 419 module_exit(fcrypt_mod_fini); 419 420 420 421 MODULE_LICENSE("Dual BSD/GPL");