编译简单“hello world”驱动模块时,出现如下错误:
...
CC [M] drivers/input/touchscreen/gunze.o
CC [M] drivers/input/touchscreen/eeti_ts.o
drivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active':
drivers/input/touchscreen/eeti_ts.c:64: error: implicit declaration of function 'irq_to_gpio'
make[3]: *** [drivers/input/touchscreen/eeti_ts.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2