diff options
author | Rob Herring <robh@kernel.org> | 2023-07-28 07:48:45 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-30 18:15:27 +0200 |
commit | 89f6fc9cc712f17f14a1bd66ae8ee7ff2abe8bd6 (patch) | |
tree | 5dfaea5f06e6b2431ce6b45b604f6b60b4c76133 /drivers/char/agp | |
parent | 350170cc4cab301d017fdd1e115730f752083dc4 (diff) | |
download | lwn-89f6fc9cc712f17f14a1bd66ae8ee7ff2abe8bd6.tar.gz lwn-89f6fc9cc712f17f14a1bd66ae8ee7ff2abe8bd6.zip |
char: 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>
Link: https://lore.kernel.org/r/20230728134845.3224553-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/agp')
-rw-r--r-- | drivers/char/agp/uninorth-agp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c index 62de7f4ba864..84411b13c49f 100644 --- a/drivers/char/agp/uninorth-agp.c +++ b/drivers/char/agp/uninorth-agp.c @@ -3,6 +3,7 @@ * UniNorth AGPGART routines. */ #include <linux/module.h> +#include <linux/of.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/init.h> |