diff options
author | Rob Herring <robh@kernel.org> | 2023-07-18 16:31:35 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-08-01 20:21:27 +0200 |
commit | 897500c7ea91702966adb9b412fa39400b4edee6 (patch) | |
tree | 60303ba8416e303b62b7647f11f13f168c1fe8f5 /drivers/dma/sh | |
parent | dmaengine: idxd: Expose ATS disable knob only when WQ ATS is supported (diff) | |
download | linux-897500c7ea91702966adb9b412fa39400b4edee6.tar.xz linux-897500c7ea91702966adb9b412fa39400b4edee6.zip |
dmaengine: 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>
Link: https://lore.kernel.org/r/20230718143138.1066177-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/sh')
-rw-r--r-- | drivers/dma/sh/shdmac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c index fb3c56a416d1..00067b29e232 100644 --- a/drivers/dma/sh/shdmac.c +++ b/drivers/dma/sh/shdmac.c @@ -23,7 +23,6 @@ #include <linux/module.h> #include <linux/notifier.h> #include <linux/of.h> -#include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/rculist.h> |