[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>
This commit is contained in:
Russell King 2006-02-17 20:23:29 +00:00 committed by Russell King
parent b00dc3ad74
commit 5bd546aa78

View File

@ -49,7 +49,7 @@ struct mmc_command {
/* /*
* These are the command types. * 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 retries; /* max number of retries */
unsigned int error; /* command error */ unsigned int error; /* command error */