Commit e254e56c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc32: ix compiling arch/ppc/8260_io/enet.c

From: Tom Rini <trini@kernel.crashing.org>

When the 826x enet driver was made to call register_netdev/free_netdev,
no one declared 'err' in the function.
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cb876f03
...@@ -612,7 +612,7 @@ static int __init scc_enet_init(void) ...@@ -612,7 +612,7 @@ static int __init scc_enet_init(void)
{ {
struct net_device *dev; struct net_device *dev;
struct scc_enet_private *cep; struct scc_enet_private *cep;
int i, j; int i, j, err;
unsigned char *eap; unsigned char *eap;
unsigned long mem_addr; unsigned long mem_addr;
bd_t *bd; bd_t *bd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment