diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-02-15 14:52:00 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-03-05 12:23:48 +0100 |
commit | 2fb639646d64882229f0870d0791746791124c45 (patch) | |
tree | f712b1a3f9fb9c87b879eb04ee1199ca53a38083 /include/phy.h | |
parent | 3c7ca9670be1040e25081598fb9d3009a6cb08c8 (diff) |
wandboard: Fix sparse warning
Add a prototype for board_phy_config() to fix the following sparse warning:
wandboard.c:200:5: warning: symbol 'board_phy_config' was not declared. Should it be static?
Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index 1f22fa180c6..d3ecd6378b3 100644 --- a/include/phy.h +++ b/include/phy.h @@ -234,6 +234,8 @@ int phy_smsc_init(void); int phy_teranetics_init(void); int phy_vitesse_init(void); +int board_phy_config(struct phy_device *phydev); + /* PHY UIDs for various PHYs that are referenced in external code */ #define PHY_UID_TN2020 0x00a19410 |