summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2008-09-02 10:14:13 +0200
committerPierre Ossman <drzeus@drzeus.cx>2008-10-12 11:04:34 +0200
commitee63a7d2287c677ed022bf3f584f5a187b6c402f (patch)
tree0b965e46c1db608effe18382e49ae470c00a3684 /include/linux
parentd16f57700475f670ca2828c150a34fa7102a05fc (diff)
downloadblackbird-op-linux-ee63a7d2287c677ed022bf3f584f5a187b6c402f.tar.gz
blackbird-op-linux-ee63a7d2287c677ed022bf3f584f5a187b6c402f.zip
Fix comment in include/linux/mmc/host.h
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 9c288c909878..bde891f64591 100644
--- a/include/linux/mmc/host.h
+++ b/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)
OpenPOWER on IntegriCloud