summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-07-07 13:47:13 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-16 21:49:01 +1000
commit271dead302d3af20bdb917bffdb8d318e60c23d7 (patch)
tree3b4b24fdfbf53664fa1c5bcef8fd052a03d7e428 /drivers/char
parent38c3b74edf23dd2f175bc7801962acb3b0985201 (diff)
downloadlinux-271dead302d3af20bdb917bffdb8d318e60c23d7.tar.bz2
hwrng: ba431 - Include kernel.h
There are multiple things in this file that requires kernel.h but it's only included through other header files indirectly. This patch adds a direct inclusion as those indirect inclusions may go away at any point. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/ba431-rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/ba431-rng.c b/drivers/char/hw_random/ba431-rng.c
index a39e3abf50b9..410b50b05e21 100644
--- a/drivers/char/hw_random/ba431-rng.c
+++ b/drivers/char/hw_random/ba431-rng.c
@@ -5,6 +5,7 @@
#include <linux/hw_random.h>
#include <linux/io.h>
#include <linux/iopoll.h>
+#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>