diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2008-09-02 04:14:13 -0400 |
|---|---|---|
| committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-10-12 05:04:34 -0400 |
| commit | ee63a7d2287c677ed022bf3f584f5a187b6c402f (patch) | |
| tree | 0b965e46c1db608effe18382e49ae470c00a3684 /include/linux/mmc | |
| parent | d16f57700475f670ca2828c150a34fa7102a05fc (diff) | |
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/mmc')
| -rw-r--r-- | include/linux/mmc/host.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 65 | * -ENOSYS when not supported (equal to NULL callback) | 65 | * -ENOSYS when not supported (equal to NULL callback) |
| 66 | * or a negative errno value when something bad happened | 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 | * 0 for a absent card | 69 | * 0 for a absent card |
| 70 | * 1 for a present card | 70 | * 1 for a present card |
| 71 | * -ENOSYS when not supported (equal to NULL callback) | 71 | * -ENOSYS when not supported (equal to NULL callback) |
