Skip to content

Commit

Permalink
[MMC] Fix mmc_cmd_type() mask
Browse files Browse the repository at this point in the history
It's MMC_CMD_MASK not MMC_CMD_TYPE.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Feb 22, 2006
1 parent b00dc3a commit 5bd546a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mmc/mmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5bd546a

Please sign in to comment.