Commit 3f2da751beb84861ba0a999aaea09e73f578022a

Authored by Andrew Gabbasov
Committed by Pantelis Antoniou
1 parent ace97d2617

mmc: Fix typo in MMC type checking macro

The version flag constant name used in IS_MMC macro is incorrect/undefined.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -61,7 +61,7 @@
61 61 #define SD_DATA_4BIT 0x00040000
62 62  
63 63 #define IS_SD(x) ((x)->version & SD_VERSION_SD)
64   -#define IS_MMC(x) ((x)->version & SD_VERSION_MMC)
  64 +#define IS_MMC(x) ((x)->version & MMC_VERSION_MMC)
65 65  
66 66 #define MMC_DATA_READ 1
67 67 #define MMC_DATA_WRITE 2