Skip to content

Commit

Permalink
[CRYPTO] padlock: Add compatibility alias after rename
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herbert Xu committed Sep 21, 2006
1 parent 1191f0a commit db5e9a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions drivers/crypto/padlock-aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
5 changes: 0 additions & 5 deletions drivers/crypto/padlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit db5e9a4

Please sign in to comment.