电容屏在自己移植的内核中编译通不过,求大虾指点!!!
最近搞了一个电容屏驱动,在友善提供的内核下去编译是OK的。但在自己移植的内核中编译就出错:
在友善提供的内核下:
[root@localhost linux-3.0.8]# make modules
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 13 modules
LD [M] drivers/input/touchscreen/tiny210v2_ts.ko
[root@localhost linux-3.0.8]#
将tiny210v2_ts.ko insmod进内核,电容屏可以在android下正常工作。
在自己移植的内核下:
[root@localhost linux-3.0.8]# make modules
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 20 modules
ERROR: "i2c_del_driver" [drivers/input/touchscreen/tiny210v2_ts.ko] undefined!
ERROR: "i2c_register_driver" [drivers/input/touchscreen/tiny210v2_ts.ko] undefined!
ERROR: "i2c_get_adapter" [drivers/input/touchscreen/tiny210v2_ts.ko] undefined!
ERROR: "i2c_put_adapter" [drivers/input/touchscreen/tiny210v2_ts.ko] undefined!
ERROR: "i2c_master_recv" [drivers/input/touchscreen/tiny210v2_ts.ko] undefined!
ERROR: "i2c_master_send" [drivers/input/touchscreen/tiny210v2_ts.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
编译产生如上错误,电容屏驱动完全是同一个。
请问各大位怎么解决啊。。。。