Commit 3511b4e208e12be85b532866f1c660aa2e021557
Committed by
Wolfgang Denk
1 parent
32482be677
Exists in
master
and in
54 other branches
MMC: Don't use new framework code if not enabled
Don't use code of new MMC framework in cmd_mmc if CONFIG_GENERIC_MMC isn't enabled. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
common/cmd_mmc.c
... | ... | @@ -40,7 +40,7 @@ |
40 | 40 | "init mmc card", |
41 | 41 | NULL |
42 | 42 | ); |
43 | -#endif /* !CONFIG_GENERIC_MMC */ | |
43 | +#else /* !CONFIG_GENERIC_MMC */ | |
44 | 44 | |
45 | 45 | static void print_mmcinfo(struct mmc *mmc) |
46 | 46 | { |
... | ... | @@ -171,4 +171,5 @@ |
171 | 171 | "mmc write <device num> addr blk# cnt\n" |
172 | 172 | "mmc rescan <device num>\n" |
173 | 173 | "mmc list - lists available devices\n"); |
174 | +#endif |