]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix comment in include/linux/mmc/host.h
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Sep 2008 08:14:13 +0000 (10:14 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 12 Oct 2008 09:04:34 +0000 (11:04 +0200)
In include/linux/mmc/host.h, it is mentionned that the callback to
know if a card is present or not is get_ro(). But it's get_cd().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
include/linux/mmc/host.h

index 9c288c9098783cfc3ef1b4d6357081b7d3f44849..bde891f645913cc2f9a0b5cc4b0447fa8d1f1abe 100644 (file)
@@ -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)