diff options
Diffstat (limited to 'drivers/crypto/geode-aes.c')
-rw-r--r-- | drivers/crypto/geode-aes.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c index f3e36c86b6c3..51f196d77f21 100644 --- a/drivers/crypto/geode-aes.c +++ b/drivers/crypto/geode-aes.c | |||
@@ -289,7 +289,6 @@ static struct crypto_alg geode_alg = { | |||
289 | .cra_blocksize = AES_MIN_BLOCK_SIZE, | 289 | .cra_blocksize = AES_MIN_BLOCK_SIZE, |
290 | .cra_ctxsize = sizeof(struct geode_aes_op), | 290 | .cra_ctxsize = sizeof(struct geode_aes_op), |
291 | .cra_module = THIS_MODULE, | 291 | .cra_module = THIS_MODULE, |
292 | .cra_list = LIST_HEAD_INIT(geode_alg.cra_list), | ||
293 | .cra_u = { | 292 | .cra_u = { |
294 | .cipher = { | 293 | .cipher = { |
295 | .cia_min_keysize = AES_MIN_KEY_SIZE, | 294 | .cia_min_keysize = AES_MIN_KEY_SIZE, |
@@ -402,7 +401,6 @@ static struct crypto_alg geode_cbc_alg = { | |||
402 | .cra_alignmask = 15, | 401 | .cra_alignmask = 15, |
403 | .cra_type = &crypto_blkcipher_type, | 402 | .cra_type = &crypto_blkcipher_type, |
404 | .cra_module = THIS_MODULE, | 403 | .cra_module = THIS_MODULE, |
405 | .cra_list = LIST_HEAD_INIT(geode_cbc_alg.cra_list), | ||
406 | .cra_u = { | 404 | .cra_u = { |
407 | .blkcipher = { | 405 | .blkcipher = { |
408 | .min_keysize = AES_MIN_KEY_SIZE, | 406 | .min_keysize = AES_MIN_KEY_SIZE, |
@@ -489,7 +487,6 @@ static struct crypto_alg geode_ecb_alg = { | |||
489 | .cra_alignmask = 15, | 487 | .cra_alignmask = 15, |
490 | .cra_type = &crypto_blkcipher_type, | 488 | .cra_type = &crypto_blkcipher_type, |
491 | .cra_module = THIS_MODULE, | 489 | .cra_module = THIS_MODULE, |
492 | .cra_list = LIST_HEAD_INIT(geode_ecb_alg.cra_list), | ||
493 | .cra_u = { | 490 | .cra_u = { |
494 | .blkcipher = { | 491 | .blkcipher = { |
495 | .min_keysize = AES_MIN_KEY_SIZE, | 492 | .min_keysize = AES_MIN_KEY_SIZE, |
@@ -588,21 +585,8 @@ static struct pci_driver geode_aes_driver = { | |||
588 | .remove = __devexit_p(geode_aes_remove) | 585 | .remove = __devexit_p(geode_aes_remove) |
589 | }; | 586 | }; |
590 | 587 | ||
591 | static int __init | 588 | module_pci_driver(geode_aes_driver); |
592 | geode_aes_init(void) | ||
593 | { | ||
594 | return pci_register_driver(&geode_aes_driver); | ||
595 | } | ||
596 | |||
597 | static void __exit | ||
598 | geode_aes_exit(void) | ||
599 | { | ||
600 | pci_unregister_driver(&geode_aes_driver); | ||
601 | } | ||
602 | 589 | ||
603 | MODULE_AUTHOR("Advanced Micro Devices, Inc."); | 590 | MODULE_AUTHOR("Advanced Micro Devices, Inc."); |
604 | MODULE_DESCRIPTION("Geode LX Hardware AES driver"); | 591 | MODULE_DESCRIPTION("Geode LX Hardware AES driver"); |
605 | MODULE_LICENSE("GPL"); | 592 | MODULE_LICENSE("GPL"); |
606 | |||
607 | module_init(geode_aes_init); | ||
608 | module_exit(geode_aes_exit); | ||