[#6451] net2272 USB gadget driver build fails after 2.6.37 upgrade
Submitted By: Vivi Li
Open Date
2011-01-17 04:29:50 Close Date
2011-05-30 05:08:23
Priority:
Medium Assignee:
Scott Jiang
Status:
Closed Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
Make Errors Board:
N/A
Processor:
BF561 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2010_Dec_09
App binary format:
N/A
Summary: net2272 USB gadget driver build fails after 2.6.37 upgrade
Details:
Fail to build usb lan on bf561-ezkit in latest trunk.
It happened after kernel was upgraded to 2.6.37 on Jan 6, 2011.
Bellow is the error log:
--
CC drivers/usb/gadget/net2272.o
drivers/usb/gadget/net2272.c: In function ‘usb_gadget_register_driver’:
drivers/usb/gadget/net2272.c:1443: error: ‘struct usb_gadget_driver’ has no member named ‘bind’
drivers/usb/gadget/net2272.c:1458: error: ‘struct usb_gadget_driver’ has no member named ‘bind’
--
Follow-ups
--- Vivi Li 2011-04-29 03:54:18
Bellow is the updated error log on bf561:
--
CC drivers/usb/gadget/net2272.o
drivers/usb/gadget/net2272.c:38:28: error: linux/smp_lock.h: No such file or
directory
drivers/usb/gadget/net2272.c: In function ‘usb_gadget_register_driver’:
drivers/usb/gadget/net2272.c:1443: error: ‘struct usb_gadget_driver’ has no
member named ‘bind’
drivers/usb/gadget/net2272.c:1458: error: ‘struct usb_gadget_driver’ has no
member named ‘bind’
--
--- Mike Frysinger 2011-05-25 08:20:08
ive fixed the driver to work with newer kernels now
--- Vivi Li 2011-05-30 05:16:48
OK now.
Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.linux.usbnet application/octet-stream 30758 Vivi Li