diff options
| author | Alex Dubov <oakad@yahoo.com> | 2008-03-10 14:43:38 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-10 21:01:18 -0400 |
| commit | d114ad54ffb020dc781b6159c1c2f391c6ec418f (patch) | |
| tree | fbb4d6c263583bf3ec5de167124fd87cd28c2914 /include/linux | |
| parent | e1f19995f55294fbb00ea22ba85d7b0d80ba3813 (diff) | |
memstick: add memstick_suspend/resume_host methods
Bus driver may need to be informed that host is being suspended/resumed.
Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/memstick.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/memstick.h b/include/linux/memstick.h index c104e722de06..b7ee25888836 100644 --- a/include/linux/memstick.h +++ b/include/linux/memstick.h | |||
| @@ -312,6 +312,8 @@ int memstick_add_host(struct memstick_host *host); | |||
| 312 | void memstick_remove_host(struct memstick_host *host); | 312 | void memstick_remove_host(struct memstick_host *host); |
| 313 | void memstick_free_host(struct memstick_host *host); | 313 | void memstick_free_host(struct memstick_host *host); |
| 314 | void memstick_detect_change(struct memstick_host *host); | 314 | void memstick_detect_change(struct memstick_host *host); |
| 315 | void memstick_suspend_host(struct memstick_host *host); | ||
| 316 | void memstick_resume_host(struct memstick_host *host); | ||
| 315 | 317 | ||
| 316 | void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc, | 318 | void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc, |
| 317 | struct scatterlist *sg); | 319 | struct scatterlist *sg); |
