diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-18 20:09:47 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 07:03:15 -0600 |
commit | 23558bb67a0df95b390ce6adea6c54d22bb67faa (patch) | |
tree | 30c1059307e8da79fdfb24c23579ecf5aac74612 /include/generic-phy.h | |
parent | 5e1ff6480fbe7cf1b2be1f8a13086b217b2f8578 (diff) |
dm: phy: Update uclass to support livetree
Update the phy uclass to support livetree. Fix the xlate() method
which has no callers.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/generic-phy.h')
-rw-r--r-- | include/generic-phy.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/generic-phy.h b/include/generic-phy.h index d8cf0c9f6a..762704c208 100644 --- a/include/generic-phy.h +++ b/include/generic-phy.h @@ -50,8 +50,7 @@ struct phy_ops { * @args: The phy specifier values from device tree. * @return 0 if OK, or a negative error code. */ - int (*of_xlate)(struct phy *phy, - struct fdtdec_phandle_args *args); + int (*of_xlate)(struct phy *phy, struct ofnode_phandle_args *args); /** * init - initialize the hardware. |