diff options
author | Wanlong Gao <wanlong.gao@gmail.com> | 2011-05-24 21:03:22 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-06-18 22:18:00 -0400 |
commit | b9c350a0a9d3564d20f5301f472b8841f8934c7d (patch) | |
tree | b3f71f42b1a4876ea325b10a7ca7d26d378b9272 /drivers/mmc | |
parent | c44048dea28b3febd38417f36f7b2924d93f9bb2 (diff) | |
download | kernel_samsung_aries-b9c350a0a9d3564d20f5301f472b8841f8934c7d.zip kernel_samsung_aries-b9c350a0a9d3564d20f5301f472b8841f8934c7d.tar.gz kernel_samsung_aries-b9c350a0a9d3564d20f5301f472b8841f8934c7d.tar.bz2 |
mmc: of_mmc_spi: add NO_IRQ define to of_mmc_spi.c
Provide a dummy value of NO_IRQ for architectures that don't support
it (such as MIPS). Fixes the build error for MIPS.
Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c index e2aecb7..ab66f24 100644 --- a/drivers/mmc/host/of_mmc_spi.c +++ b/drivers/mmc/host/of_mmc_spi.c @@ -25,6 +25,11 @@ #include <linux/mmc/core.h> #include <linux/mmc/host.h> +/* For archs that don't support NO_IRQ (such as mips), provide a dummy value */ +#ifndef NO_IRQ +#define NO_IRQ 0 +#endif + MODULE_LICENSE("GPL"); enum { |