Skip to contentSkip to conversation

phy: HiSilicon: Don't use "proxy" headers

PATCH Applied Andy Shevchenko 2 participants 2 messages Oct 31, 2024 – Dec 8, 2024 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: HiSilicon: Don't use "proxy" headers

Update header inclusions to follow IWYU (Include What You Use) principle.

---
 drivers/phy/hisilicon/phy-hi3670-pcie.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
drivers/phy/hisilicon/phy-hi3670-pcie.c +8 -3
index 0ac9634b398d..dbc7dcce682b 100644
@@ -16,15 +16,20 @@
  */
 
 #include <linux/bitfield.h>
+#include <linux/bits.h>
 #include <linux/clk.h>
-#include <linux/gpio.h>
-#include <linux/kernel.h>
+#include <linux/delay.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/io.h>
 #include <linux/mfd/syscon.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
-#include <linux/of_gpio.h>
+#include <linux/of.h>
 #include <linux/phy/phy.h>
 #include <linux/platform_device.h>
 #include <linux/regmap.h>
+#include <linux/types.h>
 
 #define AXI_CLK_FREQ				207500000
 #define REF_CLK_FREQ				100000000
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
maintainer Applied
#1 lore raw
Quoted 4 lines · Andy Shevchenko

Update header inclusions to follow IWYU (Include What You Use) principle.

Applied, thanks!

[1/1] phy: HiSilicon: Don't use "proxy" headers

      commit: 80738c3f1e1b7bd664481d73d64e42e139c7002d

Best regards,

Signature · 1 line
~Vinod