summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-17 13:43:55 +1100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 18:38:53 -0800
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)
return counter ? 0 : 1;
}
-unsigned int
+static unsigned int
geode_aes_crypt(struct geode_aes_op *op)
{
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 {
u8 iv[AES_IV_LENGTH];
};
-unsigned int geode_aes_crypt(struct geode_aes_op *);
-
#endif