diff options
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
-rw-r--r-- | drivers/crypto/mv_cesa.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index 5c6f56f21443..015c0fcea0bd 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c | |||
@@ -1126,17 +1126,7 @@ static struct platform_driver marvell_crypto = { | |||
1126 | }; | 1126 | }; |
1127 | MODULE_ALIAS("platform:mv_crypto"); | 1127 | MODULE_ALIAS("platform:mv_crypto"); |
1128 | 1128 | ||
1129 | static int __init mv_crypto_init(void) | 1129 | module_platform_driver(marvell_crypto); |
1130 | { | ||
1131 | return platform_driver_register(&marvell_crypto); | ||
1132 | } | ||
1133 | module_init(mv_crypto_init); | ||
1134 | |||
1135 | static void __exit mv_crypto_exit(void) | ||
1136 | { | ||
1137 | platform_driver_unregister(&marvell_crypto); | ||
1138 | } | ||
1139 | module_exit(mv_crypto_exit); | ||
1140 | 1130 | ||
1141 | MODULE_AUTHOR("Sebastian Andrzej Siewior <sebastian@breakpoint.cc>"); | 1131 | MODULE_AUTHOR("Sebastian Andrzej Siewior <sebastian@breakpoint.cc>"); |
1142 | MODULE_DESCRIPTION("Support for Marvell's cryptographic engine"); | 1132 | MODULE_DESCRIPTION("Support for Marvell's cryptographic engine"); |