MMC: Fix typo in struct mmc_host_ops get_cd documentation

From: Ben Dooks
Date: Mon Jun 30 2008 - 10:19:58 EST


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@xxxxxxxxx>

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@xxxxxxxxx, http://www.fluff.org/)

'a smiley only costs 4 bytes'
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/