summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-03-18 23:00:23 +0100
committerChris Ball <cjb@laptop.org>2011-03-25 15:30:49 +0100
commitb2fce6ad9f0f01cc06745298148a4941ccc4d3ec (patch)
tree5d87d55b31c8b404d1b662c14afac9de5ca21fff /drivers/mmc
parentmmc: mmci: Add ARM variant with extended FIFO (diff)
downloadlinux-b2fce6ad9f0f01cc06745298148a4941ccc4d3ec.tar.xz
linux-b2fce6ad9f0f01cc06745298148a4941ccc4d3ec.zip
mmc: of_mmc_spi: Need to include irq.h and of_irq.h
Since these are the headers that provide irq_of_parse_and_map() and NO_IRQ. Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/of_mmc_spi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c
index 5530def54e5b..e2aecb7f1d5c 100644
--- a/drivers/mmc/host/of_mmc_spi.c
+++ b/drivers/mmc/host/of_mmc_spi.c
@@ -15,9 +15,11 @@
#include <linux/module.h>
#include <linux/device.h>
#include <linux/slab.h>
+#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/of.h>
#include <linux/of_gpio.h>
+#include <linux/of_irq.h>
#include <linux/spi/spi.h>
#include <linux/spi/mmc_spi.h>
#include <linux/mmc/core.h>