diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-16 13:53:04 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 11:18:40 -0400 |
commit | 5744e5343062e1e8a6dc05c635053c0c409b4cbf (patch) | |
tree | c548b3eb594452a896955cbcefaac6497dda1f18 | |
parent | b1f49ab8c7bad60426b30c134ae065ef77d2dfc1 (diff) |
m68k: eliminate a warning in cpu_init
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
-rw-r--r-- | arch/m68k/cpu/mcf5445x/cpu_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x/cpu_init.c index 9c324dc968d..b4a8eefa94d 100644 --- a/arch/m68k/cpu/mcf5445x/cpu_init.c +++ b/arch/m68k/cpu/mcf5445x/cpu_init.c @@ -364,9 +364,9 @@ void uart_port_conf(int port) int fecpin_setclear(struct eth_device *dev, int setclear) { gpio_t *gpio = (gpio_t *) MMAP_GPIO; +#ifdef CONFIG_MCF5445x struct fec_info_s *info = (struct fec_info_s *)dev->priv; -#ifdef CONFIG_MCF5445x if (setclear) { #ifdef CONFIG_SYS_FEC_NO_SHARED_PHY if (info->iobase == CONFIG_SYS_FEC0_IOBASE) |