Re: [PATCH] of_mmc_spi: Need to include irq.h and of_irq.h

From: Grant Likely
Date: Wed Mar 23 2011 - 23:42:02 EST


On Fri, Mar 18, 2011 at 03:00:23PM -0700, David Miller wrote:
>
> Since these are the headers that provide irq_of_parse_and_map()
> and NO_IRQ.
>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx>

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

g.

>
> 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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/