aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-07-08 20:35:49 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-20 21:40:22 -0400
commitdb5e9a42373ae6d84c4b0179c2fe0aba866474e8 (patch)
tree7b8ba1a14ca02aeb0df119cf97fa0095f4e5f993
parent1191f0a49390caf16f4a2831a4fc373757471ad6 (diff)
[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");
533MODULE_AUTHOR("Michal Ludvig"); 533MODULE_AUTHOR("Michal Ludvig");
534 534
535MODULE_ALIAS("aes-padlock"); 535MODULE_ALIAS("aes-padlock");
536
537/* This module used to be called padlock. */
538MODULE_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 {
28 28
29#define PFX "padlock: " 29#define PFX "padlock: "
30 30
31#ifdef CONFIG_CRYPTO_DEV_PADLOCK_AES
32int padlock_init_aes(void);
33void padlock_fini_aes(void);
34#endif
35
36#endif /* _CRYPTO_PADLOCK_H */ 31#endif /* _CRYPTO_PADLOCK_H */