From: Rob Herring Date: Wed, 25 Oct 2023 16:20:34 +0000 (-0500) Subject: hwrng: ingenic - Replace of_device.h with explicit of.h include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6d51b9ae4d5e43457f459222d9105e683ae15a0c;p=linux.git hwrng: ingenic - Replace of_device.h with explicit of.h include The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other and pull in various other headers. In preparation to fix this, adjust the includes for what is actually needed. of_device.h isn't needed, but of.h is and was implicitly included by it. Signed-off-by: Rob Herring Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/ingenic-rng.c b/drivers/char/hw_random/ingenic-rng.c index 4f18c3fa5427f..c74ded64fbe3a 100644 --- a/drivers/char/hw_random/ingenic-rng.c +++ b/drivers/char/hw_random/ingenic-rng.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include