aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Marginean <alexandru.marginean@nxp.com>2019-11-14 18:28:29 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2019-12-09 09:47:42 -0600
commitd718b697a1794876511d6a30a047acfce0b69312 (patch)
treecd1bd2cdbfdaafd0436cd67b10f8d4994ab90fa7
parent17285fc2833e0db04a2bd3d411cdf1a3e387de83 (diff)
downloadu-boot-d718b697a1794876511d6a30a047acfce0b69312.zip
u-boot-d718b697a1794876511d6a30a047acfce0b69312.tar.gz
u-boot-d718b697a1794876511d6a30a047acfce0b69312.tar.bz2
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>
-rw-r--r--include/phy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h
index e50f56b..6ace9b3 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 {