diff options
author | Pierre Ossman <drzeus-list@drzeus.cx> | 2005-09-06 18:18:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:50 -0400 |
commit | a00fc09029f02ca833cf90e5d5625f08c4ac4f51 (patch) | |
tree | 02774c6f35623a27fbefbe1fe7f26f4a0f5fdd32 /include/linux/mmc/host.h | |
parent | 335eadf2ef6a1122a720aea98e758e5d431da87d (diff) |
[PATCH] sd: read-only switch
Support for the read-only switch on SD cards which must be enforced by the
host.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r-- | include/linux/mmc/host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 845020d90c60..8c5f71376e41 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
@@ -62,6 +62,7 @@ struct mmc_ios { | |||
62 | struct mmc_host_ops { | 62 | struct mmc_host_ops { |
63 | void (*request)(struct mmc_host *host, struct mmc_request *req); | 63 | void (*request)(struct mmc_host *host, struct mmc_request *req); |
64 | void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios); | 64 | void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios); |
65 | int (*get_ro)(struct mmc_host *host); | ||
65 | }; | 66 | }; |
66 | 67 | ||
67 | struct mmc_card; | 68 | struct mmc_card; |