public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux@fluff.org>
To: linux-kernel@vger.kernel.org
Cc: drzeus-mmc@dzezus.cx, Ben Dooks <ben-linux@fluff.org>
Subject: MMC: Fix typo in struct mmc_host_ops get_cd documentation
Date: Mon, 30 Jun 2008 15:19:45 +0100	[thread overview]
Message-ID: <20080630141945.494429513@fluff.org.uk> (raw)

[-- Attachment #1: simtec/simtec-mmc-fix-hostops-typo.patch --]
[-- Type: text/plain, Size: 970 bytes --]

The documentation in 'struct mmc_host_ops' references .get_ro
twice, where the second reference should be to the .get_cd
field.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

Index: linux-2.6.26-rc8-next20080627/include/linux/mmc/host.h
===================================================================
--- linux-2.6.26-rc8-next20080627.orig/include/linux/mmc/host.h	2008-06-30 15:13:10.000000000 +0100
+++ linux-2.6.26-rc8-next20080627/include/linux/mmc/host.h	2008-06-30 15:13:18.000000000 +0100
@@ -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)

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

                 reply	other threads:[~2008-06-30 14:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080630141945.494429513@fluff.org.uk \
    --to=ben-linux@fluff.org \
    --cc=drzeus-mmc@dzezus.cx \
    --cc=linux-kernel@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