From: Herbert Xu Date: Tue, 7 Jul 2020 03:47:13 +0000 (+1000) Subject: hwrng: ba431 - Include kernel.h X-Git-Tag: v5.15~3097^2~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=271dead302d3af20bdb917bffdb8d318e60c23d7;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/drivers/char/hw_random/ba431-rng.c b/drivers/char/hw_random/ba431-rng.c index a39e3ab..410b50b 100644 --- a/drivers/char/hw_random/ba431-rng.c +++ b/drivers/char/hw_random/ba431-rng.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include