[CRYPTO] padlock: Add compatibility alias after rename
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Jul 2006 00:35:49 +0000 (10:35 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:40:22 +0000 (11:40 +1000)
Whenever we rename modules we should add an alias to ensure that existing
users can still locate the new module.

This patch also gets rid of the now unused module function prototypes from
padlock.h.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-aes.c
drivers/crypto/padlock.h

index ee33bd6..241052d 100644 (file)
@@ -533,3 +533,6 @@ MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Michal Ludvig");
 
 MODULE_ALIAS("aes-padlock");
+
+/* This module used to be called padlock. */
+MODULE_ALIAS("padlock");
index b78489b..e2ee3b6 100644 (file)
@@ -28,9 +28,4 @@ struct cword {
 
 #define PFX    "padlock: "
 
-#ifdef CONFIG_CRYPTO_DEV_PADLOCK_AES
-int padlock_init_aes(void);
-void padlock_fini_aes(void);
-#endif
-
 #endif /* _CRYPTO_PADLOCK_H */