summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phylib.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/phylib.h')
-rw-r--r--drivers/net/phy/phylib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/phy/phylib.h b/drivers/net/phy/phylib.h
new file mode 100644
index 000000000000..a42e1fc079cb
--- /dev/null
+++ b/drivers/net/phy/phylib.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * phylib header
+ */
+
+#ifndef __PHYLIB_H
+#define __PHYLIB_H
+
+struct device_node;
+struct phy_device;
+
+struct device_node *phy_package_get_node(struct phy_device *phydev);
+void *phy_package_get_priv(struct phy_device *phydev);
+
+#endif /* __PHYLIB_H */