Commit 7bbfd39bb9a5623cb8e0bcc54aee9b43d9ee97b9
Committed by
Dominik Brodowski
1 parent
aafcf998c3
Exists in
master
and in
7 other branches
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: Alan Cox <alan@redhat.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
drivers/pcmcia/pcmcia_resource.c
... | ... | @@ -693,8 +693,9 @@ |
693 | 693 | type = 0; |
694 | 694 | if (s->functions > 1) /* All of this ought to be handled higher up */ |
695 | 695 | type = IRQF_SHARED; |
696 | - if (req->Attributes & IRQ_TYPE_DYNAMIC_SHARING) | |
696 | + else if (req->Attributes & IRQ_TYPE_DYNAMIC_SHARING) | |
697 | 697 | type = IRQF_SHARED; |
698 | + else printk(KERN_WARNING "pcmcia: Driver needs updating to support IRQ sharing.\n"); | |
698 | 699 | |
699 | 700 | #ifdef CONFIG_PCMCIA_PROBE |
700 | 701 |