OSDN Git Service

wifi: drivers: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Mon, 24 Jul 2023 21:19:13 +0000 (15:19 -0600)
committerKalle Valo <kvalo@kernel.org>
Tue, 1 Aug 2023 14:48:38 +0000 (17:48 +0300)
commite7899a90cebec045ce88505d496d8453174044c2
tree0b14c1f6f057e65c53898e15bc2361d7297fd7a5
parent6fd879f9783bdbaea758681b9d4e2e7c306293fd
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
drivers/net/wireless/ath/ath10k/ahb.c
drivers/net/wireless/ath/ath11k/qmi.c
drivers/net/wireless/ath/wcn36xx/main.c
drivers/net/wireless/intersil/orinoco/airport.c
drivers/net/wireless/mediatek/mt76/mt7915/init.c
drivers/net/wireless/mediatek/mt76/mt7915/soc.c
drivers/net/wireless/mediatek/mt76/mt7996/init.c
drivers/net/wireless/silabs/wfx/bus_sdio.c