summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2008-06-16 19:20:57 -0700
committerPierre Ossman <drzeus@drzeus.cx>2008-07-15 14:14:41 +0200
commit8769392b1918ec70ab62eebc82e06c47c12f8304 (patch)
treea7939c1619038b2934e6d209f08552286ef69fd4
parent08f80bb5196517a0dfe50dc7c10f234c0ff2f0e8 (diff)
downloadlinux-3.10-8769392b1918ec70ab62eebc82e06c47c12f8304.tar.gz
linux-3.10-8769392b1918ec70ab62eebc82e06c47c12f8304.tar.bz2
linux-3.10-8769392b1918ec70ab62eebc82e06c47c12f8304.zip
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>
-rw-r--r--drivers/mmc/core/mmc.c2
-rw-r--r--drivers/mmc/core/sd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 3da29eef8f7..fdd7c760be8 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -288,7 +288,7 @@ static struct device_type mmc_type = {
/*
* Handle the detection and initialisation of a card.
*
- * In the case of a resume, "curcard" will contain the card
+ * In the case of a resume, "oldcard" will contain the card
* we're trying to reinitialise.
*/
static int mmc_init_card(struct mmc_host *host, u32 ocr,
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c
index b122eb9ea45..26fc098d77c 100644
--- a/drivers/mmc/core/sd.c
+++ b/drivers/mmc/core/sd.c
@@ -326,7 +326,7 @@ static struct device_type sd_type = {
/*
* Handle the detection and initialisation of a card.
*
- * In the case of a resume, "curcard" will contain the card
+ * In the case of a resume, "oldcard" will contain the card
* we're trying to reinitialise.
*/
static int mmc_sd_init_card(struct mmc_host *host, u32 ocr,