summaryrefslogtreecommitdiff
path: root/include/phy.h
diff options
context:
space:
mode:
authorAlex Marginean <alexandru.marginean@nxp.com>2019-11-14 19:28:29 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-12-09 18:47:42 +0300
commitd718b697a1794876511d6a30a047acfce0b69312 (patch)
treecd1bd2cdbfdaafd0436cd67b10f8d4994ab90fa7 /include/phy.h
parent17285fc2833e0db04a2bd3d411cdf1a3e387de83 (diff)
downloadu-boot-d718b697a1794876511d6a30a047acfce0b69312.tar.xz
include: phy: add data field for private driver data
This is useful to carry custom information between the driver structure associated with a specific HW and the driver code. Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r--include/phy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h
index e50f56b6eb..6ace9b3a0c 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -115,6 +115,9 @@ struct phy_driver {
u16 val);
struct list_head list;
+
+ /* driver private data */
+ ulong data;
};
struct phy_device {