summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-03-18 15:00:23 -0700
committerChris Ball <cjb@laptop.org>2011-03-25 10:30:49 -0400
commitb2fce6ad9f0f01cc06745298148a4941ccc4d3ec (patch)
tree5d87d55b31c8b404d1b662c14afac9de5ca21fff
parent768fbc1876b3239f4c463c00ea1e78725554cf21 (diff)
downloadop-kernel-dev-b2fce6ad9f0f01cc06745298148a4941ccc4d3ec.zip
op-kernel-dev-b2fce6ad9f0f01cc06745298148a4941ccc4d3ec.tar.gz
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>
-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 5530def..e2aecb7 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>
OpenPOWER on IntegriCloud