Skip to contentSkip to conversation

of_mmc_spi: Need to include irq.h and of_irq.h

PATCH Applied David Miller 3 participants 3 messages Mar 18, 2011 – Mar 24, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/mmc/host/of_mmc_spi.c +2 -0
index 5530def..e2aecb7 100644
@@ -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>
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · David Miller

Since these are the headers that provide irq_of_parse_and_map() and NO_IRQ.

Chris, let me know if you need me to take this via my tree.

g.

Quoted 17 lines
drivers/mmc/host/of_mmc_spi.c +2 -0
index 5530def..e2aecb7 100644
@@ -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>
Applied
#2 lore raw
In reply to David Miller

Hi,

Quoted 11 lines · David Miller

Since these are the headers that provide irq_of_parse_and_map() and NO_IRQ.

drivers/mmc/host/of_mmc_spi.c +0 -0
index 5530def..e2aecb7 100644
@@ -15,9 +15,11 @@
 #include <linux/module.h>

drivers/mmc/host/of_mmc_spi.c line 25

Quoted 10 lines
drivers/mmc/host/of_mmc_spi.c +2 -0
 #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>

Pushed to mmc-next for .39-rc2 with Grant's ACK, thanks.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child