Since the PHY provider API has moved to drivers/phy/phy-provider.h and include/linux/phy/ulpi_phy.h needs it (phy_create(), phy_create_lookup(), etc), naturally it means ulpi_phy.h is also a PHY provider header and should be moved to the same location. The header is included only from drivers/phy/ti/phy-tusb1210.c, which confirms that PHY consumers do not need it. Signed-off-by: Vladimir Oltean --- v7->v8: patch is new --- drivers/phy/ti/phy-tusb1210.c | 3 ++- {include/linux => drivers}/phy/ulpi_phy.h | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename {include/linux => drivers}/phy/ulpi_phy.h (100%) diff --git a/drivers/phy/ti/phy-tusb1210.c b/drivers/phy/ti/phy-tusb1210.c index b7080403e649..5af809231c92 100644 --- a/drivers/phy/ti/phy-tusb1210.c +++ b/drivers/phy/ti/phy-tusb1210.c @@ -12,12 +12,13 @@ #include #include #include -#include #include #include #include #include +#include "../ulpi_phy.h" + #define TI_VENDOR_ID 0x0451 #define TI_DEVICE_TUSB1210 0x1507 #define TI_DEVICE_TUSB1211 0x1508 diff --git a/include/linux/phy/ulpi_phy.h b/drivers/phy/ulpi_phy.h similarity index 100% rename from include/linux/phy/ulpi_phy.h rename to drivers/phy/ulpi_phy.h -- 2.34.1