[#5243] drivers/net/irda/bfin_sir.c build fails after linux-2.6.30 upgrade

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5243] drivers/net/irda/bfin_sir.c build fails after linux-2.6.30 upgrade

Submitted By: Mike Frysinger

Open Date

2009-06-11 18:31:23     Close Date

2009-06-29 15:19:13

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk

App binary format:

N/A     

Summary: drivers/net/irda/bfin_sir.c build fails after linux-2.6.30 upgrade

Details:

 

  CC      drivers/net/irda/bfin_sir.o

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[1]: *** [drivers/net/irda/bfin_sir.o] Error 1

 

Follow-ups

 

--- 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

thanks

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes