summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/omap-rng.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-28 07:48:27 -0600
committerHerbert Xu <herbert@gondor.apana.org.au>2023-08-04 17:09:26 +0800
commit0788257aeebee9b8413c1c29e7d2029329b1a82e (patch)
tree62076d13cde51d3b47d16e544d2bbf42d6ef4785 /drivers/char/hw_random/omap-rng.c
parent6a4b8aa0a916b39a39175584c07222434fa6c6ef (diff)
downloadlinux-0788257aeebee9b8413c1c29e7d2029329b1a82e.tar.gz
linux-0788257aeebee9b8413c1c29e7d2029329b1a82e.tar.bz2
linux-0788257aeebee9b8413c1c29e7d2029329b1a82e.zip
hwrng: Explicitly include correct DT includes
The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/omap-rng.c')
-rw-r--r--drivers/char/hw_random/omap-rng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c
index 00ff96703dd2..be03f76a2a80 100644
--- a/drivers/char/hw_random/omap-rng.c
+++ b/drivers/char/hw_random/omap-rng.c
@@ -26,8 +26,6 @@
#include <linux/slab.h>
#include <linux/pm_runtime.h>
#include <linux/of.h>
-#include <linux/of_device.h>
-#include <linux/of_address.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/io.h>