Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thomas Petazzoni and committed by
Pierre Ossman
ee63a7d2 d16f5770

+1 -1
+1 -1
include/linux/mmc/host.h
··· 65 65 * -ENOSYS when not supported (equal to NULL callback) 66 66 * or a negative errno value when something bad happened 67 67 * 68 - * Return values for the get_ro callback should be: 68 + * Return values for the get_cd callback should be: 69 69 * 0 for a absent card 70 70 * 1 for a present card 71 71 * -ENOSYS when not supported (equal to NULL callback)