Skip to contentSkip to conversation

MMC: Fix typo in struct mmc_host_ops get_cd documentation

PATCH Ben Dooks 1 participant 1 message Jun 30, 2008 MMC, SD and SDIO

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

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

include/linux/mmc/host.h +1 -1
Index: linux-2.6.26-rc8-next20080627/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)
Signature · 3 lines
Ben ([email protected], http://www.fluff.org/)

  'a smiley only costs 4 bytes'