[CRYPTO] geode: Make needlessly global geode_aes_crypt() static
authorAdrian Bunk <bunk@stusta.de>
Fri, 17 Nov 2006 02:43:55 +0000 (13:43 +1100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Dec 2006 02:38:53 +0000 (18:38 -0800)
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>
drivers/crypto/geode-aes.c
drivers/crypto/geode-aes.h

index da2d35d..43a6839 100644 (file)
@@ -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)
 {
 
index 3e3a571..8003a36 100644 (file)
@@ -37,6 +37,4 @@ struct geode_aes_op {
        u8 iv[AES_IV_LENGTH];
 };
 
-unsigned int geode_aes_crypt(struct geode_aes_op *);
-
 #endif