request_irq与request_threaded_irq

/*
* Allocate the IRQ
*/
#if 0
retval = request_irq(uap->port.irq, pl011_int, 0, "uart-pl011", uap);
#else
retval = request_threaded_irq(uap->port.irq, NULL, pl011_int, IRQ_TYPE_NONE | IRQF_ONESHOT,

"uart-pl011", uap);








本文转自张昺华-sky博客园博客,原文链接:http://www.cnblogs.com/sky-heaven/p/5038749.html,如需转载请自行联系原作者




你可能感兴趣的:(request_irq与request_threaded_irq)