diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-07 06:47:13 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-16 14:49:01 +0300 |
commit | 271dead302d3af20bdb917bffdb8d318e60c23d7 (patch) | |
tree | 3b4b24fdfbf53664fa1c5bcef8fd052a03d7e428 /drivers/char | |
parent | 38c3b74edf23dd2f175bc7801962acb3b0985201 (diff) | |
download | linux-271dead302d3af20bdb917bffdb8d318e60c23d7.tar.xz |
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.c | 1 |
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> |