diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 19:47:08 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-19 12:57:51 +0200 |
commit | 7c7e33b799ac169e5fab8abfc6819fce8b26d53d (patch) | |
tree | e4f98cf79aa20fbeb47ee8343d4e9390bd7e81e4 /drivers/media/dvb-frontends | |
parent | media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer (diff) | |
download | linux-7c7e33b799ac169e5fab8abfc6819fce8b26d53d.tar.xz linux-7c7e33b799ac169e5fab8abfc6819fce8b26d53d.zip |
media: 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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/mn88443x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/mn88443x.c b/drivers/media/dvb-frontends/mn88443x.c index 2ce5692bc22c..bbdd0389ffa3 100644 --- a/drivers/media/dvb-frontends/mn88443x.c +++ b/drivers/media/dvb-frontends/mn88443x.c @@ -8,7 +8,7 @@ #include <linux/clk.h> #include <linux/delay.h> #include <linux/gpio/consumer.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/regmap.h> #include <media/dvb_math.h> |