Skip to content

Commit

Permalink
mmc: of_mmc_spi: Need to include irq.h and of_irq.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Miller authored and Chris Ball committed Mar 25, 2011
1 parent 768fbc1 commit b2fce6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mmc/host/of_mmc_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b2fce6a

Please sign in to comment.