Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 1/1] [mmc] Fix comment in include/linux/mmc/host.h

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


thomas.petazzoni at free-electrons

Sep 2, 2008, 1:14 AM

Post #1 of 2 (248 views)
Permalink
[PATCH 1/1] [mmc] Fix comment in include/linux/mmc/host.h

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 [at] free-electrons>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


drzeus-mmc at drzeus

Sep 7, 2008, 3:46 AM

Post #2 of 2 (206 views)
Permalink
Re: [PATCH 1/1] [mmc] Fix comment in include/linux/mmc/host.h [In reply to]

On Tue, 2 Sep 2008 10:14:13 +0200
Thomas Petazzoni <thomas.petazzoni [at] free-electrons> 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 [at] free-electrons>
> ---

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.