summaryrefslogtreecommitdiff
path: root/include/linux/phy/phy.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-05-20 11:54:11 +0100
committerMark Brown <broonie@kernel.org>2019-05-20 11:54:11 +0100
commit96d82e9d0dc799bb382ed0fe9db30c79c3a9f3b9 (patch)
tree76a630c2f0c84d807cc2c6199be24519ecc9ec16 /include/linux/phy/phy.h
parent977bfde5d4cbb9d2eb1969eb2eb671cdb9b9fcbf (diff)
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
Merge tag 'v5.2-rc1' into regulator-5.3
Linux 5.2-rc1
Diffstat (limited to 'include/linux/phy/phy.h')
-rw-r--r--include/linux/phy/phy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 3f350e2749fe..ef13aea1d370 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -64,6 +64,7 @@ union phy_configure_opts {
* @set_mode: set the mode of the phy
* @reset: resetting the phy
* @calibrate: calibrate the phy
+ * @release: ops to be performed while the consumer relinquishes the PHY
* @owner: the module owner containing the ops
*/
struct phy_ops {
@@ -105,6 +106,7 @@ struct phy_ops {
union phy_configure_opts *opts);
int (*reset)(struct phy *phy);
int (*calibrate)(struct phy *phy);
+ void (*release)(struct phy *phy);
struct module *owner;
};