aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-01-11 15:17:38 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 21:42:11 -0500
commitd251575ab60ca2b5337574bfaf8f8b583f18059e (patch)
tree8bd9b2a920d01db2cbd770a712657a0a81723007 /drivers
parent8c174af880d02f29599178284bb43f8d4f0fdcd8 (diff)
[PATCH] random: get rid of sparse warning
Get rid of bogus extern attribute that causes sparse warning. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index bdfdfd28594d..86be04b241e1 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -632,7 +632,7 @@ out:
632 preempt_enable(); 632 preempt_enable();
633} 633}
634 634
635extern void add_input_randomness(unsigned int type, unsigned int code, 635void add_input_randomness(unsigned int type, unsigned int code,
636 unsigned int value) 636 unsigned int value)
637{ 637{
638 static unsigned char last_value; 638 static unsigned char last_value;