linux-mips
[Top] [All Lists]

Re: [patch] au1xmmc: fix mmc_rsp_type typo

To: ralf@linux-mips.org
Subject: Re: [patch] au1xmmc: fix mmc_rsp_type typo
From: Domen Puncer <domen.puncer@ultra.si>
Date: Tue, 21 Feb 2006 11:46:19 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20060221093834.GA5120@domen.ultra.si>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060221093834.GA5120@domen.ultra.si>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11
On 21/02/06 10:38 +0100, Domen Puncer wrote:
> Patch that added this suggests mmc_rsp_type should be mmc_resp_type.

Ouch, I thought I compile tested.
Here's a fixed version:


There's no mmc_rsp_type

Signed-off-by: Domen Puncer <domen.puncer@ultra.si>

Index: linux-2.6.16-rc4.git/drivers/mmc/au1xmmc.c
===================================================================
--- linux-2.6.16-rc4.git.orig/drivers/mmc/au1xmmc.c
+++ linux-2.6.16-rc4.git/drivers/mmc/au1xmmc.c
@@ -41,6 +41,7 @@
 #include <linux/mm.h>
 #include <linux/interrupt.h>
 #include <linux/dma-mapping.h>
+#include <linux/platform_device.h>
 
 #include <linux/mmc/host.h>
 #include <linux/mmc/protocol.h>
@@ -195,7 +195,7 @@ static int au1xmmc_send_command(struct a
 
        u32 mmccmd = (cmd->opcode << SD_CMD_CI_SHIFT);
 
-       switch (mmc_rsp_type(cmd->flags)) {
+       switch (mmc_resp_type(cmd)) {
        case MMC_RSP_R1:
                mmccmd |= SD_CMD_RT_1;
                break;

<Prev in Thread] Current Thread [Next in Thread>