OK6410如何去掉觸摸屏驅動

來自:http://blog.sina.com.cn/s/blog_636a55070101lyes.html

一、配置內核make menuconfig ARCH=arm 去掉第三張圖片中touchscreens選項前的*
OK6410如何去掉觸摸屏驅動OK6410如何去掉觸摸屏驅動OK6410如何去掉觸摸屏驅動

若只做這一步,編譯內核會提示如下錯誤:
arch/arm/mach-s3c64xx/built-in.o: In function `smdk6410_machine_init':
/xh/work/linux-3.0.1/arch/arm/mach-s3c64xx/mach-smdk6410.c:1096: undefined reference to `s3c_ts_set_platdata'
arch/arm/mach-s3c64xx/built-in.o:(.init.data+0x26c): undefined reference to `s3c_device_ts'
make: *** [.tmp_vmlinux1] Error 1
[root@IVAN linux-3.0.1]#
二、打開/arch/arm/mach-s3c64xx/mach-smdk6410.c
    搜索 “s3c_ts_set_platdata”和“s3c_device_ts”,並註釋掉這兩行。
成功……

發佈了20 篇原創文章 · 獲贊 10 · 訪問量 7萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章