[PATCH 01/15] mmc: bcm2835: Add missing include for threaded irq

Stefan Wahren stefan.wahren at i2se.com
Tue Feb 7 12:45:40 PST 2017


After the implementation of threaded irq this driver requires
linux/interrupt.h otherwise we get this build errors:

error: implicit declaration of function 'request_threaded_irq'
error: implicit declaration of function 'free_irq'

Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 drivers/mmc/host/bcm2835.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index 5ea8bd6..12eeb70 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -45,6 +45,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/err.h>
 #include <linux/highmem.h>
+#include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
 #include <linux/module.h>
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list