From: Adrian Bunk Date: Fri, 17 Nov 2006 02:43:55 +0000 (+1100) Subject: [CRYPTO] geode: Make needlessly global geode_aes_crypt() static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab7827059adbbcc3624afbc58880287eabf6d277;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Herbert Xu --- 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