提交 7bbfd39b 编写于 作者: A Alan Cox 提交者: Dominik Brodowski

pcmcia: Whine harder about use of EXCLUSIVE

The exclusive IRQ line support is a legacy and any remaining drivers that
cannot share interrupts need tidying up so whine harder about them.
Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
上级 aafcf998
...@@ -693,8 +693,9 @@ int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req) ...@@ -693,8 +693,9 @@ int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req)
type = 0; type = 0;
if (s->functions > 1) /* All of this ought to be handled higher up */ if (s->functions > 1) /* All of this ought to be handled higher up */
type = IRQF_SHARED; type = IRQF_SHARED;
if (req->Attributes & IRQ_TYPE_DYNAMIC_SHARING) else if (req->Attributes & IRQ_TYPE_DYNAMIC_SHARING)
type = IRQF_SHARED; type = IRQF_SHARED;
else printk(KERN_WARNING "pcmcia: Driver needs updating to support IRQ sharing.\n");
#ifdef CONFIG_PCMCIA_PROBE #ifdef CONFIG_PCMCIA_PROBE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册