Re: [patch] au1xmmc: fix mmc_rsp_type typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>

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;


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux