linux因为文件有错而导致的错误1
make[3]: *** [drivers/input/touchscreen/eeti_ts.o] 错误 1
make[2]: *** [drivers/input/touchscreen] 错误 2
make[1]: *** [drivers/input] 错误 2
make: *** [drivers] 错误 2
方法:
更改的地方总共包括三个文件
arch/arm/mach-pxa/raumfeld.c
drivers/input/touchscreen/eeti_ts.c |
1、raumfeld.c
static struct eeti_ts_platform_data eeti_ts_pdata = {
2、/drivers/input/touchscreen/eeti_ts.c
struct work_struct work;
int irq, gpio, irq_active_high;//添加
return gpio_get_value(irq_to_gpio(priv->irq)) == priv->irq_active_high;//删除
}
static int __devinit eeti_ts_probe(struct i2c_client *client,
下面两句
==========================================
============================================
==========================================
if (pdata) {
priv->irq_active_high = pdata->irq_active_high;
}
===============================================
3、/include/linux/input/eeti_ts.h