summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-01-11 12:17:38 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 18:42:11 -0800
commitd251575ab60ca2b5337574bfaf8f8b583f18059e (patch)
tree8bd9b2a920d01db2cbd770a712657a0a81723007 /drivers
parent8c174af880d02f29599178284bb43f8d4f0fdcd8 (diff)
downloadop-kernel-dev-d251575ab60ca2b5337574bfaf8f8b583f18059e.zip
op-kernel-dev-d251575ab60ca2b5337574bfaf8f8b583f18059e.tar.gz
[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 bdfdfd2..86be04b 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -632,7 +632,7 @@ out:
preempt_enable();
}
-extern void add_input_randomness(unsigned int type, unsigned int code,
+void add_input_randomness(unsigned int type, unsigned int code,
unsigned int value)
{
static unsigned char last_value;
OpenPOWER on IntegriCloud