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 /board | |
parent | 3c7ca9670be1040e25081598fb9d3009a6cb08c8 (diff) | |
download | u-boot-imx-2fb639646d64882229f0870d0791746791124c45.zip u-boot-imx-2fb639646d64882229f0870d0791746791124c45.tar.gz u-boot-imx-2fb639646d64882229f0870d0791746791124c45.tar.bz2 |
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 'board')
-rw-r--r-- | board/wandboard/wandboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index dbced1c..6918614 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -25,6 +25,7 @@ #include <miiphy.h> #include <netdev.h> #include <linux/fb.h> +#include <phy.h> DECLARE_GLOBAL_DATA_PTR; |