summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-07-09 10:35:49 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-21 11:40:22 +1000
commitdb5e9a42373ae6d84c4b0179c2fe0aba866474e8 (patch)
tree7b8ba1a14ca02aeb0df119cf97fa0095f4e5f993
parent1191f0a49390caf16f4a2831a4fc373757471ad6 (diff)
downloadlinux-db5e9a42373ae6d84c4b0179c2fe0aba866474e8.tar.gz
linux-db5e9a42373ae6d84c4b0179c2fe0aba866474e8.tar.bz2
linux-db5e9a42373ae6d84c4b0179c2fe0aba866474e8.zip
[CRYPTO] padlock: Add compatibility alias after rename
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>
-rw-r--r--drivers/crypto/padlock-aes.c3
-rw-r--r--drivers/crypto/padlock.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/crypto/padlock-aes.c b/drivers/crypto/padlock-aes.c
index ee33bd6c1b77..241052da2787 100644
--- a/drivers/crypto/padlock-aes.c
+++ b/drivers/crypto/padlock-aes.c
@@ -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");
diff --git a/drivers/crypto/padlock.h b/drivers/crypto/padlock.h
index b78489bc298a..e2ee3b689dbd 100644
--- a/drivers/crypto/padlock.h
+++ b/drivers/crypto/padlock.h
@@ -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 */