From: Alex Marginean Date: Thu, 14 Nov 2019 16:28:29 +0000 (+0200) Subject: include: phy: add data field for private driver data X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d718b697a1794876511d6a30a047acfce0b69312;p=u-boot.git 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 Acked-by: Joe Hershberger --- 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 {