[MMC] Fix mmc_cmd_type() mask
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 17 Feb 2006 20:23:29 +0000 (20:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Feb 2006 09:32:46 +0000 (09:32 +0000)
It's MMC_CMD_MASK not MMC_CMD_TYPE.

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

index f38872abc12669e0d08e53ac7da62ceedad01306..bdc556d884989c9e51f6c46b915f4efb146e162b 100644 (file)
@@ -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 */