summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-09-09 20:30:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-09-14 01:09:41 +0200
commit003f6c9df54970d8b19578d195b3e2b398cdbde2 (patch)
treeadc3f5e5a459e9b5460d24e821af51c2872b4760 /lib
parentpci: Don't crash when reading mpss from root complex (diff)
downloadlinux-003f6c9df54970d8b19578d195b3e2b398cdbde2.tar.xz
linux-003f6c9df54970d8b19578d195b3e2b398cdbde2.zip
lib/sha1.c: quiet sparse noise about symbol not declared
Include <linux/cryptohash.h> to pickup the declarations for sha_transform and sha_init to quite the sparse noise: warning: symbol 'sha_transform' was not declared. Should it be static? warning: symbol 'sha_init' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/sha1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sha1.c b/lib/sha1.c
index f33271dd00cb..1de509a159c8 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -8,6 +8,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/bitops.h>
+#include <linux/cryptohash.h>
#include <asm/unaligned.h>
/*