- 积分
- 3
贡献25
飞刀2 FD
注册时间2016-11-4
在线时间0 小时
扫一扫,手机访问本帖
|
将飞凌的3.0.1内核中的can驱动移植到2.6.36中出现以下打印信息
CC drivers/net/can/mcp251x.o
drivers/net/can/mcp251x.c: In function 'mcp251x_open':
drivers/net/can/mcp251x.c:934:10: error: 'struct mcp251x_platform_data' has no member named 'irq_flags'
drivers/net/can/mcp251x.c:934:29: error: 'struct mcp251x_platform_data' has no member named 'irq_flags'
make[3]: *** [drivers/net/can/mcp251x.o] Error 1
make[2]: *** [drivers/net/can] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
但是放在3.0.1中编译就没有错误??为何??
请教版主及各位高手。。。谢谢 |
|