Tiny210
复制mini210_linux_defconfig到.config ,make menuconfig修改触摸屏驱动为S3C touchsreen driver。
编辑内核,告错:
WARNING: modpost: Found 9 section mismatch(es)
详细信息:
WARNING: drivers/input/touchscreen/built-in.o(.data+0x0): Section mismatch in reference from the variable s3c_ts_driver to the function .init.text:s3c_ts_probe()
The variable s3c_ts_driver references
the function __init s3c_ts_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
LD drivers/input/built-in.o
WARNING: drivers/input/built-in.o(.data+0x4a8): Section mismatch in reference from the variable s3c_ts_driver to the function .init.text:s3c_ts_probe()
The variable s3c_ts_driver references
the function __init s3c_ts_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
试过在结构体变量s3c_ts_driver 第一行 .probe = __init (s3c_ts_probe)不起作用。
请大侠帮忙解决:modpost: Found 9 section mismatch(es) 故障。
make menuconfig修改触摸屏驱动到s3c touchsreen driver 时,是否还需要修改相应关联配置,关联配置有哪些?