[#5243] drivers/net/irda/bfin_sir.c build fails after linux-2.6.30 upgrade
Submitted By: Mike Frysinger
2009-06-11 18:31:23 Close Date
Closed Fixed In Release:
Found In Release:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: drivers/net/irda/bfin_sir.c build fails after linux-2.6.30 upgrade
drivers/net/irda/bfin_sir.c: In function ‘bfin_sir_probe’:
drivers/net/irda/bfin_sir.c:721: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
drivers/net/irda/bfin_sir.c:722: error: ‘struct net_device’ has no member named ‘open’
drivers/net/irda/bfin_sir.c:723: error: ‘struct net_device’ has no member named ‘stop’
drivers/net/irda/bfin_sir.c:724: error: ‘struct net_device’ has no member named ‘do_ioctl’
drivers/net/irda/bfin_sir.c:725: error: ‘struct net_device’ has no member named ‘get_stats’
make: *** [drivers/net/irda/bfin_sir.o] Error 1
--- Graf Yang 2009-06-25 23:46:31
The bfin_sir driver build OK on head(svn 6858).
--- Mike Frysinger 2009-06-26 00:18:00
that's because you enabled the net compat option that doesnt exist in 2.6.31.
this needs to be fixed.
disable COMPAT_NET_DEV_OPS and try again.
--- Graf Yang 2009-06-29 00:36:46
I've fixed it on trunk.
--- Mike Frysinger 2009-06-29 15:19:13
File Name File Type File Size Posted By
No Files Were Found