From: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Fri, 17 Feb 2006 20:23:29 +0000 (+0000)
Subject: [MMC] Fix mmc_cmd_type() mask
X-Git-Tag: v2.6.16-rc5~61^2
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5bd546aa78b5d74f3162815e41940f862215d9e3;p=linux-2.6-omap-h63xx.git

[MMC] Fix mmc_cmd_type() mask

It's MMC_CMD_MASK not MMC_CMD_TYPE.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---

diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h
index f38872abc12..bdc556d8849 100644
--- a/include/linux/mmc/mmc.h
+++ b/include/linux/mmc/mmc.h
@@ -49,7 +49,7 @@ struct mmc_command {
 /*
  * These are the command types.
  */
-#define mmc_cmd_type(cmd)	((cmd)->flags & MMC_CMD_TYPE)
+#define mmc_cmd_type(cmd)	((cmd)->flags & MMC_CMD_MASK)
 
 	unsigned int		retries;	/* max number of retries */
 	unsigned int		error;		/* command error */