Skip to contentSkip to conversation

gianfar compilation is broken in 2.6.31-rc9

DISCUSSION Felix Radensky 1 participant 1 message Sep 6, 2009

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
Date:   Sun Aug 30 22:04:07 2009 -0700

gianfar: gfar_remove needs to call unregister_netdev()

Felix.