gianfar compilation is broken in 2.6.31-rc9

From: Felix Radensky <hidden>
Date: 2009-09-06 19:40:20

Hi,

Compilation of gianfar  driver fails in 2.6.31-rc9:

CC      drivers/net/gianfar.o
drivers/net/gianfar.c: In function 'gfar_remove':
drivers/net/gianfar.c:494: error: 'dev' undeclared (first use in this 
function)
drivers/net/gianfar.c:494: error: (Each undeclared identifier is 
reported only once
drivers/net/gianfar.c:494: error: for each function it appears in.)
make[2]: *** [drivers/net/gianfar.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

The problem was introduce by the following commit:

commit 38bddf04bcfe661fbdab94888c3b72c32f6873b3
Author: Toru UCHIYAMA [off-list ref]
Date:   Sun Aug 30 22:04:07 2009 -0700

    gianfar: gfar_remove needs to call unregister_netdev()

Felix.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help