summaryrefslogtreecommitdiff
path: root/include/phy.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-02-15 14:52:00 -0200
committerStefano Babic <sbabic@denx.de>2014-03-05 12:23:48 +0100
commit2fb639646d64882229f0870d0791746791124c45 (patch)
treef712b1a3f9fb9c87b879eb04ee1199ca53a38083 /include/phy.h
parent3c7ca9670be1040e25081598fb9d3009a6cb08c8 (diff)
downloadu-boot-2fb639646d64882229f0870d0791746791124c45.tar.gz
u-boot-2fb639646d64882229f0870d0791746791124c45.tar.bz2
u-boot-2fb639646d64882229f0870d0791746791124c45.zip
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h
index 1f22fa180c..d3ecd6378b 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