lkml.org 
[lkml]   [2008]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectMMC: Fix typo in struct mmc_host_ops get_cd documentation
From
Date
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'


\
 
 \ /
  Last update: 2008-06-30 16:23    [W:0.022 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site