编译错误统计

1 编译内核出错:drivers/mfd/ezx-pcap.c:213: error: implicit declaration of function 'irq_to_gpio'

  解决方法:a:在(/drivers/mfd/ezx-pcap.c)中
        添加头文件#include <linux/gpio-pxa.h>
        删除:while(gpio_get_value(irq_to_gpio(pcap->spi->irq)));
        添加:while(gpio_get_value(pxa_irq_to_gpio(pcap->spi->irq)));

        b:在(/drivers/mdf/Kconfig)中

        删除:depends on GENERIC_HARDIRQS && SPI_MASTER 

        添加:depends on GENERIC_HARDIRQS && SPI_MASTER && ARCH_PXA

猜你喜欢

转载自www.cnblogs.com/dongry/p/10727676.html