From: Wanlong Gao Date: Tue, 24 May 2011 13:03:22 +0000 (+0800) Subject: mmc: of_mmc_spi: add NO_IRQ define to of_mmc_spi.c X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b9c350a0a9d3564d20f5301f472b8841f8934c7d;p=~shefty%2Frdma-dev.git 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 Acked-by: Grant Likely Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c index e2aecb7f1d5..ab66f2454dc 100644 --- a/drivers/mmc/host/of_mmc_spi.c +++ b/drivers/mmc/host/of_mmc_spi.c @@ -25,6 +25,11 @@ #include #include +/* 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 {