[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111102170619.GJ31337@atomide.com>
Date: Wed, 2 Nov 2011 10:06:19 -0700
From: Tony Lindgren <tony@...mide.com>
To: Chris Ball <cjb@...top.org>
Cc: linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
linux-omap@...r.kernel.org,
Girish K S <girish.shivananjappa@...aro.org>
Subject: [PATCH] mmc: omap_hsmmc: Fix build for hsmmc
Commit a3c76eb9d4a1e68a69dd880cf0bcb8a52418b993 (mmc: replace
printk with appropriate display macro) does not compile:
drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_protect_card':
drivers/mmc/host/omap_hsmmc.c:1273: error: 'pr_info' undeclared (first use in this function)
drivers/mmc/host/omap_hsmmc.c:1273: error: (Each undeclared identifier is reported only once
drivers/mmc/host/omap_hsmmc.c:1273: error: for each function it appears in.)
drivers/mmc/host/omap_hsmmc.c:1273: error: expected ';' before string constant
drivers/mmc/host/omap_hsmmc.c:1275: error: expected statement before ')' token
distcc[15197] ERROR: compile drivers/mmc/host/omap_hsmmc.c on localhost failed
Cc: Girish K S <girish.shivananjappa@...aro.org>
Cc: Chris Ball <cjb@...top.org>
Cc: linux-mmc@...r.kernel.org
Signed-off-by: Tony Lindgren <tony@...mide.com>
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1270,7 +1270,7 @@ static void omap_hsmmc_protect_card(struct omap_hsmmc_host *host)
}
} else {
if (!host->protect_card) {
- pr_info"%s: cover is open, "
+ pr_info("%s: cover is open, "
"card is now inaccessible\n",
mmc_hostname(host->mmc));
host->protect_card = 1;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists