Messages in this thread Patch in this message | | | Subject | MMC: Fix typo in struct mmc_host_ops get_cd documentation | From | Ben Dooks <> | Date | Mon, 30 Jun 2008 15:19:45 +0100 |
| |
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'
| |