mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
c44048dea2
commit
b9c350a0a9
1 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue