From: Thomas Petazzoni Date: Tue, 2 Sep 2008 08:14:13 +0000 (+0200) Subject: Fix comment in include/linux/mmc/host.h X-Git-Tag: v2.6.28-rc1~701^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ee63a7d2287c677ed022bf3f584f5a187b6c402f;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Pierre Ossman --- diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 9c288c90987..bde891f6459 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)