diff options
author | Rob Herring <robh@kernel.org> | 2023-10-25 18:20:34 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-11-17 12:16:28 +0100 |
commit | 6d51b9ae4d5e43457f459222d9105e683ae15a0c (patch) | |
tree | 0ae9a3e8055fead8f82cc6f6c772dcfdd2aac353 /drivers/char | |
parent | crypto: lib/aesgcm - Add kernel docs for aesgcm_mac (diff) | |
download | linux-6d51b9ae4d5e43457f459222d9105e683ae15a0c.tar.xz linux-6d51b9ae4d5e43457f459222d9105e683ae15a0c.zip |
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 <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/ingenic-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/ingenic-rng.c b/drivers/char/hw_random/ingenic-rng.c index 4f18c3fa5427..c74ded64fbe3 100644 --- a/drivers/char/hw_random/ingenic-rng.c +++ b/drivers/char/hw_random/ingenic-rng.c @@ -11,7 +11,7 @@ #include <linux/io.h> #include <linux/iopoll.h> #include <linux/module.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> |