public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MMC: Fix typo in struct mmc_host_ops get_cd documentation
@ 2008-06-30 14:19 Ben Dooks
  0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2008-06-30 14:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: drzeus-mmc, Ben Dooks

[-- 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'

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-30 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 14:19 MMC: Fix typo in struct mmc_host_ops get_cd documentation Ben Dooks

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