diff options
| author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-02-17 15:23:29 -0500 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-02-22 04:32:46 -0500 |
| commit | 5bd546aa78b5d74f3162815e41940f862215d9e3 (patch) | |
| tree | a80adfbb09e2714830762ffdc7c7ec7567b469df | |
| parent | b00dc3ad74fdb676552d46ee573b88e927240d0c (diff) | |
[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>
| -rw-r--r-- | include/linux/mmc/mmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index f38872abc126..bdc556d88498 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h | |||
| @@ -49,7 +49,7 @@ struct mmc_command { | |||
| 49 | /* | 49 | /* |
| 50 | * These are the command types. | 50 | * These are the command types. |
| 51 | */ | 51 | */ |
| 52 | #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_TYPE) | 52 | #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) |
| 53 | 53 | ||
| 54 | unsigned int retries; /* max number of retries */ | 54 | unsigned int retries; /* max number of retries */ |
| 55 | unsigned int error; /* command error */ | 55 | unsigned int error; /* command error */ |
