Now that all consumers have been updated to no longer dereference fields
inside struct phy, we can hide its definition altogether from public view.

Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
---
Cc: Abhinav Kumar <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: "André Draszik" <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Andy Yan <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Chanho Park <[email protected]>
Cc: Chen-Yu Tsai <[email protected]>
Cc: Claudiu Beznea <[email protected]>
Cc: Damien Le Moal <[email protected]>
Cc: Daniel Machon <[email protected]>
Cc: David Airlie <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Dmitry Baryshkov <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: "Heiko Stübner" <[email protected]>
Cc: Inki Dae <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: JC Kuo <[email protected]>
Cc: Jernej Skrabec <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Johan Hovold <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Jonathan Hunter <[email protected]>
Cc: Kevin Xie <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: "Krzysztof Wilczyński" <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Marijn Suijten <[email protected]>
Cc: Markus Schneider-Pargmann <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: Mathias Nyman <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Michael Dege <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Cc: Niklas Cassel <[email protected]>
Cc: Nitin Rawat <[email protected]>
Cc: Paolo Abeni <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Peter Chen <[email protected]>
Cc: Peter Griffin <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: Robert Foss <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: "Russell King (Oracle)" <[email protected]>
Cc: Samuel Holland <[email protected]>
Cc: Sandy Huang <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Shawn Lin <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Steen Hegelund <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thinh Nguyen <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Tudor Ambarus <[email protected]>
Cc: Vincent Mailhol <[email protected]>
Cc: Yixun Lan <[email protected]>
Cc: Yoshihiro Shimoda <[email protected]>

v5->v6:
- expand CC list to inform maintainers of touched drivers that the API
  is becoming unavailable
v2->v5: none
v1->v2: collect tag
---
 include/linux/phy/phy.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 34b656084caf..0fdcefaa3f55 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -12,8 +12,6 @@
 
 #include <linux/phy/phy-props.h>
 
-#include "../../../drivers/phy/phy-provider.h"
-
 struct device;
 struct device_node;
 struct phy;
-- 
2.43.0

Reply via email to