diff options
author | Rob Herring <robh@kernel.org> | 2023-07-25 00:19:13 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-08-01 17:48:38 +0300 |
commit | e7899a90cebec045ce88505d496d8453174044c2 (patch) | |
tree | 0b14c1f6f057e65c53898e15bc2361d7297fd7a5 /drivers/net/wireless/ath/ath10k | |
parent | 6fd879f9783bdbaea758681b9d4e2e7c306293fd (diff) | |
download | linux-e7899a90cebec045ce88505d496d8453174044c2.tar.xz |
wifi: drivers: 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: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230724211914.805876-1-robh@kernel.org
Diffstat (limited to 'drivers/net/wireless/ath/ath10k')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/ahb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/ahb.c b/drivers/net/wireless/ath/ath10k/ahb.c index 4a006fb4d424..76efea2f1138 100644 --- a/drivers/net/wireless/ath/ath10k/ahb.c +++ b/drivers/net/wireless/ath/ath10k/ahb.c @@ -5,7 +5,7 @@ */ #include <linux/module.h> #include <linux/of.h> -#include <linux/of_device.h> +#include <linux/platform_device.h> #include <linux/clk.h> #include <linux/reset.h> #include "core.h" |