mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] [mmc] Fix comment in include/linux/mmc/host.h
@ 2008-09-02  8:14 Thomas Petazzoni
  2008-09-07 10:46 ` Pierre Ossman
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2008-09-02  8:14 UTC (permalink / raw)
  To: drzeus-mmc; +Cc: linux-kernel, michael, Thomas Petazzoni

In include/linux/mmc/host.h, it is mentionned that the callback to
know if a card is present or not is get_ro(). But it's get_cd().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 include/linux/mmc/host.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 9c288c9..bde891f 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -65,7 +65,7 @@ struct mmc_host_ops {
 	 *   -ENOSYS when not supported (equal to NULL callback)
 	 *   or a negative errno value when something bad happened
 	 *
-	 * Return values for the get_ro callback should be:
+	 * Return values for the get_cd callback should be:
 	 *   0 for a absent card
 	 *   1 for a present card
 	 *   -ENOSYS when not supported (equal to NULL callback)
-- 
1.5.4.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] [mmc] Fix comment in include/linux/mmc/host.h
  2008-09-02  8:14 [PATCH 1/1] [mmc] Fix comment in include/linux/mmc/host.h Thomas Petazzoni
@ 2008-09-07 10:46 ` Pierre Ossman
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2008-09-07 10:46 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: linux-kernel, michael, Thomas Petazzoni

On Tue,  2 Sep 2008 10:14:13 +0200
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> In include/linux/mmc/host.h, it is mentionned that the callback to
> know if a card is present or not is get_ro(). But it's get_cd().
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---

Applied, thanks.

-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-07 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-02  8:14 [PATCH 1/1] [mmc] Fix comment in include/linux/mmc/host.h Thomas Petazzoni
2008-09-07 10:46 ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®