From: Fabio Estevam Date: Sat, 15 Feb 2014 16:52:00 +0000 (-0200) Subject: wandboard: Fix sparse warning X-Git-Tag: v2014.04~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2fb639646d64882229f0870d0791746791124c45;p=u-boot 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 Signed-off-by: Fabio Estevam --- diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index dbced1c308..6918614ec1 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -25,6 +25,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; 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