Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9c350a0 authored by Wanlong Gao's avatar Wanlong Gao Committed by Chris Ball
Browse files

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: default avatarWanlong Gao <wanlong.gao@gmail.com>
Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent c44048de
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -25,6 +25,11 @@
#include <linux/mmc/core.h>
#include <linux/mmc/core.h>
#include <linux/mmc/host.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");
MODULE_LICENSE("GPL");


enum {
enum {