All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers:mmc:add the NO_IRQ define to of_mmc_spi.c
@ 2011-05-24 13:03 Wanlong Gao
  2011-05-27  3:32 ` Grant Likely
  2011-05-27  3:44 ` Chris Ball
  0 siblings, 2 replies; 3+ messages in thread
From: Wanlong Gao @ 2011-05-24 13:03 UTC (permalink / raw)
  To: Chris Ball, Grant Likely; +Cc: linux-mmc, linux-kernel, Wanlong Gao

For archs that don't support NO_IRQ (such as mips),
provide a dummy value. Fix the build error for mips.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
 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 {
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers:mmc:add the NO_IRQ define to of_mmc_spi.c
  2011-05-24 13:03 [PATCH] drivers:mmc:add the NO_IRQ define to of_mmc_spi.c Wanlong Gao
@ 2011-05-27  3:32 ` Grant Likely
  2011-05-27  3:44 ` Chris Ball
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2011-05-27  3:32 UTC (permalink / raw)
  To: Wanlong Gao; +Cc: Chris Ball, linux-mmc, linux-kernel

On Tue, May 24, 2011 at 09:03:22PM +0800, Wanlong Gao wrote:
> For archs that don't support NO_IRQ (such as mips),
> provide a dummy value. Fix the build error for mips.
> 
> Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>

Acked-by: Grant Likely <grant.likely@secretlab.ca>
> ---
>  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 {
> -- 
> 1.7.4.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers:mmc:add the NO_IRQ define to of_mmc_spi.c
  2011-05-24 13:03 [PATCH] drivers:mmc:add the NO_IRQ define to of_mmc_spi.c Wanlong Gao
  2011-05-27  3:32 ` Grant Likely
@ 2011-05-27  3:44 ` Chris Ball
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Ball @ 2011-05-27  3:44 UTC (permalink / raw)
  To: Wanlong Gao; +Cc: Grant Likely, linux-mmc, linux-kernel

Hi,

On Tue, May 24 2011, Wanlong Gao wrote:
> For archs that don't support NO_IRQ (such as mips),
> provide a dummy value. Fix the build error for mips.
>
> Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
> ---
>  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 {

Thanks, queued for Linus with Grant's ACK.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-27  3:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 13:03 [PATCH] drivers:mmc:add the NO_IRQ define to of_mmc_spi.c Wanlong Gao
2011-05-27  3:32 ` Grant Likely
2011-05-27  3:44 ` Chris Ball

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.