hwrng: ba431 - Include kernel.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Jul 2020 03:47:13 +0000 (13:47 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jul 2020 11:49:01 +0000 (21:49 +1000)
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>
drivers/char/hw_random/ba431-rng.c

index a39e3abf50b9432ab88c260516251296f5049535..410b50b05e2104a95cd46e0dfc8c45e5ef486946 100644 (file)
@@ -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>