]> git.karo-electronics.de Git - linux-beck.git/commitdiff
genirq/msi: Drop artificial PCI dependency
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 22 Nov 2016 09:21:16 +0000 (09:21 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 22 Nov 2016 10:00:19 +0000 (11:00 +0100)
The generic MSI layer doesn't have any PCI ties anymore, and the
build hack should have been removed some time ago.

Fixes: d9109698be6e ("genirq: Introduce msi_domain_alloc/free_irqs()")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/1479806476-20801-1-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/msi.c

index 8a3e872798f34004721b12e1c7f9e25e906e248f..ee230063f033ca8da380516e2d722068b094c07f 100644 (file)
@@ -14,9 +14,7 @@
 #include <linux/irq.h>
 #include <linux/irqdomain.h>
 #include <linux/msi.h>
-
-/* Temparory solution for building, will be removed later */
-#include <linux/pci.h>
+#include <linux/slab.h>
 
 /**
  * alloc_msi_entry - Allocate an initialize msi_entry