From: Tony Lindgren <tony@atomide.com>
To: Chris Ball <cjb@laptop.org>
Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org,
linux-omap@vger.kernel.org,
Girish K S <girish.shivananjappa@linaro.org>
Subject: [PATCH] mmc: omap_hsmmc: Fix build for hsmmc
Date: Wed, 2 Nov 2011 10:06:19 -0700 [thread overview]
Message-ID: <20111102170619.GJ31337@atomide.com> (raw)
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@linaro.org>
Cc: Chris Ball <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.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;
next reply other threads:[~2011-11-02 17:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 17:06 Tony Lindgren [this message]
2011-11-02 18:57 ` [PATCH] mmc: omap_hsmmc: Fix build for hsmmc Thomas Weber
2011-11-02 19:39 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111102170619.GJ31337@atomide.com \
--to=tony@atomide.com \
--cc=cjb@laptop.org \
--cc=girish.shivananjappa@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox