diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-08-16 14:37:03 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-08-28 11:00:18 +0200 |
commit | a265e5ef426ed224bfd2ee3d05535e6c573a16ba (patch) | |
tree | e9fb2451e969e32a1f7e3b49cd98334cf3ee5ae9 | |
parent | 11ed312896c5f5814064c5d45dcb2f53dc121437 (diff) | |
download | u-boot-a265e5ef426ed224bfd2ee3d05535e6c573a16ba.tar.gz u-boot-a265e5ef426ed224bfd2ee3d05535e6c573a16ba.tar.bz2 u-boot-a265e5ef426ed224bfd2ee3d05535e6c573a16ba.zip |
phy: Fix warning due to missing definition of structure
Fix this sort of warning if generic-phy.h is included:
include/generic-phy.h:52:42: warning: ‘struct ofnode_phandle_args’ declared inside parameter list will not be visible outside of this definition or declaration
int (*of_xlate)(struct phy *phy, struct ofnode_phandle_args *args);
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
-rw-r--r-- | include/generic-phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/generic-phy.h b/include/generic-phy.h index 3d26249fae..947c582f68 100644 --- a/include/generic-phy.h +++ b/include/generic-phy.h @@ -7,6 +7,7 @@ #ifndef __GENERIC_PHY_H #define __GENERIC_PHY_H +struct ofnode_phandle_args; /** * struct phy - A handle to (allowing control of) a single phy port. |