diff options
author | Wolfgang Denk <wd@denx.de> | 2009-03-28 20:16:16 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-28 20:16:16 +0100 |
commit | d2567be915036720693f3ddd00c39b5b4d86fb8d (patch) | |
tree | 70549d9763109a76a5292bbd7926db8897773936 /board/sandburst/metrobox | |
parent | 97b05d7d524a6b4f195f07b8f90e98561a85596c (diff) | |
download | talos-obmc-uboot-d2567be915036720693f3ddd00c39b5b4d86fb8d.tar.gz talos-obmc-uboot-d2567be915036720693f3ddd00c39b5b4d86fb8d.zip |
Fix implicit declaration of function 'eth_[gs]etenv_enetaddr'
...and some other compile warnings.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/sandburst/metrobox')
-rw-r--r-- | board/sandburst/metrobox/metrobox.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/sandburst/metrobox/metrobox.c b/board/sandburst/metrobox/metrobox.c index bd6be3d2aa..fc136c89c4 100644 --- a/board/sandburst/metrobox/metrobox.c +++ b/board/sandburst/metrobox/metrobox.c @@ -32,6 +32,10 @@ #include <i2c.h> #include "../common/ppc440gx_i2c.h" #include "../common/sb_common.h" +#if defined(CONFIG_HAS_ETH0) || defined(CONFIG_HAS_ETH1) || \ + defined(CONFIG_HAS_ETH2) || defined(CONFIG_HAS_ETH3) +#include <net.h> +#endif void fpga_init (void); |