mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
fix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used
This fixes the following warnings when running MAKEALL for coldfire : cmd_bdinfo.c:354: warning: 'print_eth' defined but not used Signed-off-by: Philippe De Muyter <phdm at macqel.be>
This commit is contained in:
parent
dfc2b7697d
commit
116095eb1f
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||
|
||||
static void print_num(const char *, ulong);
|
||||
|
||||
#if !defined(CONFIG_ARM) || defined(CONFIG_CMD_NET)
|
||||
#if !(defined(CONFIG_ARM) || defined(CONFIG_M68K)) || defined(CONFIG_CMD_NET)
|
||||
static void print_eth(int idx);
|
||||
#endif
|
||||
|
||||
|
@ -350,7 +350,7 @@ static void print_num(const char *name, ulong value)
|
|||
printf ("%-12s= 0x%08lX\n", name, value);
|
||||
}
|
||||
|
||||
#if !defined(CONFIG_ARM) || defined(CONFIG_CMD_NET)
|
||||
#if !(defined(CONFIG_ARM) || defined(CONFIG_M68K)) || defined(CONFIG_CMD_NET)
|
||||
static void print_eth(int idx)
|
||||
{
|
||||
char name[10], *val;
|
||||
|
|
Loading…
Reference in a new issue