[PATCH v6 phy-next 27/28] phy: remove temporary provider compatibility from consumer header
Vladimir Oltean
vladimir.oltean at nxp.com
Fri Mar 27 11:47:05 PDT 2026
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 <vladimir.oltean at nxp.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
---
Cc: Abhinav Kumar <abhinav.kumar at linux.dev>
Cc: Alexandre Belloni <alexandre.belloni at bootlin.com>
Cc: "André Draszik" <andre.draszik at linaro.org>
Cc: Andrew Lunn <andrew+netdev at lunn.ch>
Cc: Andrzej Hajda <andrzej.hajda at intel.com>
Cc: Andy Yan <andy.yan at rock-chips.com>
Cc: Bjorn Helgaas <bhelgaas at google.com>
Cc: Chanho Park <chanho61.park at samsung.com>
Cc: Chen-Yu Tsai <wens at kernel.org>
Cc: Claudiu Beznea <claudiu.beznea at tuxon.dev>
Cc: Damien Le Moal <dlemoal at kernel.org>
Cc: Daniel Machon <daniel.machon at microchip.com>
Cc: David Airlie <airlied at gmail.com>
Cc: "David S. Miller" <davem at davemloft.net>
Cc: Dmitry Baryshkov <lumag at kernel.org>
Cc: Eric Dumazet <edumazet at google.com>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: Frank Li <Frank.Li at nxp.com>
Cc: Geert Uytterhoeven <geert+renesas at glider.be>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: "Heiko Stübner" <heiko at sntech.de>
Cc: Inki Dae <inki.dae at samsung.com>
Cc: Jagan Teki <jagan at amarulasolutions.com>
Cc: Jakub Kicinski <kuba at kernel.org>
Cc: "James E.J. Bottomley" <James.Bottomley at HansenPartnership.com>
Cc: JC Kuo <jckuo at nvidia.com>
Cc: Jernej Skrabec <jernej.skrabec at gmail.com>
Cc: Jessica Zhang <jesszhan0024 at gmail.com>
Cc: Joe Perches <joe at perches.com>
Cc: Johan Hovold <johan+linaro at kernel.org>
Cc: Jonas Karlman <jonas at kwiboo.se>
Cc: Jonathan Hunter <jonathanh at nvidia.com>
Cc: Kevin Xie <kevin.xie at starfivetech.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Cc: "Krzysztof Wilczyński" <kwilczynski at kernel.org>
Cc: Laurent Pinchart <Laurent.pinchart at ideasonboard.com>
Cc: Linus Walleij <linusw at kernel.org>
Cc: Lorenzo Pieralisi <lpieralisi at kernel.org>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Magnus Damm <magnus.damm at gmail.com>
Cc: Manivannan Sadhasivam <mani at kernel.org>
Cc: Marc Kleine-Budde <mkl at pengutronix.de>
Cc: Marek Szyprowski <m.szyprowski at samsung.com>
Cc: Marijn Suijten <marijn.suijten at somainline.org>
Cc: Markus Schneider-Pargmann <msp at baylibre.com>
Cc: "Martin K. Petersen" <martin.petersen at oracle.com>
Cc: Mathias Nyman <mathias.nyman at intel.com>
Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
Cc: Maxime Ripard <mripard at kernel.org>
Cc: Michael Dege <michael.dege at renesas.com>
Cc: Neil Armstrong <neil.armstrong at linaro.org>
Cc: Nicolas Ferre <nicolas.ferre at microchip.com>
Cc: Niklas Cassel <cassel at kernel.org>
Cc: Nitin Rawat <quic_nitirawa at quicinc.com>
Cc: Paolo Abeni <pabeni at redhat.com>
Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
Cc: Peter Chen <peter.chen at kernel.org>
Cc: Peter Griffin <peter.griffin at linaro.org>
Cc: Rob Clark <robin.clark at oss.qualcomm.com>
Cc: Robert Foss <rfoss at kernel.org>
Cc: Rob Herring <robh at kernel.org>
Cc: "Russell King (Oracle)" <rmk+kernel at armlinux.org.uk>
Cc: Samuel Holland <samuel at sholland.org>
Cc: Sandy Huang <hjc at rock-chips.com>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Sean Paul <sean at poorly.run>
Cc: Sebastian Reichel <sre at kernel.org>
Cc: Shawn Guo <shawn.guo at linaro.org>
Cc: Shawn Lin <shawn.lin at rock-chips.com>
Cc: Simona Vetter <simona at ffwll.ch>
Cc: Steen Hegelund <Steen.Hegelund at microchip.com>
Cc: Thierry Reding <thierry.reding at gmail.com>
Cc: Thinh Nguyen <Thinh.Nguyen at synopsys.com>
Cc: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Tudor Ambarus <tudor.ambarus at linaro.org>
Cc: Vincent Mailhol <mailhol at kernel.org>
Cc: Yixun Lan <dlan at kernel.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh at renesas.com>
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
More information about the linux-riscv
mailing list