aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-16 21:43:55 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 21:38:53 -0500
commitab7827059adbbcc3624afbc58880287eabf6d277 (patch)
tree2108509ea550b497ecb9669e64f06c03c8fe8ec3 /drivers/crypto
parent5b37538a514cf4c8746be9d09e8a9f564e7df939 (diff)
[CRYPTO] geode: Make needlessly global geode_aes_crypt() static
On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote: >... > Changes since 2.6.19-rc5-mm2: >... > git-cryptodev.patch >... > git trees >... This patch makes the needlessly global geode_aes_crypt() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/geode-aes.c2
-rw-r--r--drivers/crypto/geode-aes.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c
index da2d35db8b48..43a68398656f 100644
--- a/drivers/crypto/geode-aes.c
+++ b/drivers/crypto/geode-aes.c
@@ -97,7 +97,7 @@ do_crypt(void *src, void *dst, int len, u32 flags)
97 return counter ? 0 : 1; 97 return counter ? 0 : 1;
98} 98}
99 99
100unsigned int 100static unsigned int
101geode_aes_crypt(struct geode_aes_op *op) 101geode_aes_crypt(struct geode_aes_op *op)
102{ 102{
103 103
diff --git a/drivers/crypto/geode-aes.h b/drivers/crypto/geode-aes.h
index 3e3a571d4a20..8003a36f3a83 100644
--- a/drivers/crypto/geode-aes.h
+++ b/drivers/crypto/geode-aes.h
@@ -37,6 +37,4 @@ struct geode_aes_op {
37 u8 iv[AES_IV_LENGTH]; 37 u8 iv[AES_IV_LENGTH];
38}; 38};
39 39
40unsigned int geode_aes_crypt(struct geode_aes_op *);
41
42#endif 40#endif