]> git.sur5r.net Git - u-boot/commit
kirkwood: define empty CONFIG_MVGBE_PORTS by default
authorLuka Perkov <luka@openwrt.org>
Mon, 11 Nov 2013 06:27:53 +0000 (07:27 +0100)
committerLuka Perkov <luka.perkov@sartura.hr>
Sun, 25 Jan 2015 22:56:15 +0000 (23:56 +0100)
commit5aa2297da7f10e4ff231d33f18609396b40aa474
tree329b3e8a7f1a5a5e0c5730c1bf23c7d208088c42
parent49413ea3f5b05079c11d284a8520da2bc421442e
kirkwood: define empty CONFIG_MVGBE_PORTS by default

Each board with defines it's own set of values. If we do not define
CONFIG_MVGBE_PORTS we will hit following error:

mvgbe.c: In function 'mvgbe_initialize':
mvgbe.c:700:34: error: 'CONFIG_MVGBE_PORTS' undeclared (first use in this function)
  u8 used_ports[MAX_MVGBE_DEVS] = CONFIG_MVGBE_PORTS;

This patch fixes above described problem.

Signed-off-by: Luka Perkov <luka@openwrt.org>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
drivers/net/mvgbe.c