diff options
author | Alex Marginean <alexandru.marginean@nxp.com> | 2019-11-14 18:28:29 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-12-09 09:47:42 -0600 |
commit | d718b697a1794876511d6a30a047acfce0b69312 (patch) | |
tree | cd1bd2cdbfdaafd0436cd67b10f8d4994ab90fa7 | |
parent | 17285fc2833e0db04a2bd3d411cdf1a3e387de83 (diff) |
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.h | 3 |
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 { |