Commit 8769392b1918ec70ab62eebc82e06c47c12f8304

Authored by Deepak Saxena
Committed by Pierre Ossman
1 parent 08f80bb519

MMC: Trivial comment cleanup

Make the variable name in the comments match the actual name
of the variable.

Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

drivers/mmc/core/mmc.c
... ... @@ -288,7 +288,7 @@
288 288 /*
289 289 * Handle the detection and initialisation of a card.
290 290 *
291   - * In the case of a resume, "curcard" will contain the card
  291 + * In the case of a resume, "oldcard" will contain the card
292 292 * we're trying to reinitialise.
293 293 */
294 294 static int mmc_init_card(struct mmc_host *host, u32 ocr,
drivers/mmc/core/sd.c
... ... @@ -326,7 +326,7 @@
326 326 /*
327 327 * Handle the detection and initialisation of a card.
328 328 *
329   - * In the case of a resume, "curcard" will contain the card
  329 + * In the case of a resume, "oldcard" will contain the card
330 330 * we're trying to reinitialise.
331 331 */
332 332 static int mmc_sd_init_card(struct mmc_host *host, u32 ocr,