[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1603075043-2502-1-git-send-email-tiantao6@hisilicon.com>
Date: Mon, 19 Oct 2020 10:37:23 +0800
From: Tian Tao <tiantao6@...ilicon.com>
To: <tytso@....edu>, <arnd@...db.de>, <gregkh@...uxfoundation.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] random: Fix missing-prototypes in random.c
Fix the following warnings.
drivers/char/random.c:2297:6: warning: no previous prototype for
‘add_hwgenerator_randomness’ [-Wmissing-prototypes]
Signed-off-by: Tian Tao <tiantao6@...ilicon.com>
---
drivers/char/random.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index d20ba1b..1bf06d6 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -321,6 +321,7 @@
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/genhd.h>
+#include <linux/hw_random.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/nodemask.h>
--
2.7.4
Powered by blists - more mailing lists