diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 20:49:37 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2023-07-28 18:36:20 +0300 |
commit | bad8a8afe19f43641a15a9540c56f80f1de50f63 (patch) | |
tree | e38c76a6b3874663b024c63be26ee553ecdfa972 /drivers/reset/reset-k210.c | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
download | linux-bad8a8afe19f43641a15a9540c56f80f1de50f63.tar.xz |
reset: 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 as 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>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Acked-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Link: https://lore.kernel.org/r/20230714174939.4063667-1-robh@kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/reset-k210.c')
-rw-r--r-- | drivers/reset/reset-k210.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/reset/reset-k210.c b/drivers/reset/reset-k210.c index 1b6e03522b40..b62a2fd44e4e 100644 --- a/drivers/reset/reset-k210.c +++ b/drivers/reset/reset-k210.c @@ -3,7 +3,6 @@ * Copyright (c) 2020 Western Digital Corporation or its affiliates. */ #include <linux/of.h> -#include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/reset-controller.h> #include <linux/delay.h> |