aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memstick.h
diff options
context:
space:
mode:
authorAlex Dubov <oakad@yahoo.com>2008-03-10 14:43:38 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-10 21:01:18 -0400
commitd114ad54ffb020dc781b6159c1c2f391c6ec418f (patch)
treefbb4d6c263583bf3ec5de167124fd87cd28c2914 /include/linux/memstick.h
parente1f19995f55294fbb00ea22ba85d7b0d80ba3813 (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/memstick.h')
-rw-r--r--include/linux/memstick.h2
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);
312void memstick_remove_host(struct memstick_host *host); 312void memstick_remove_host(struct memstick_host *host);
313void memstick_free_host(struct memstick_host *host); 313void memstick_free_host(struct memstick_host *host);
314void memstick_detect_change(struct memstick_host *host); 314void memstick_detect_change(struct memstick_host *host);
315void memstick_suspend_host(struct memstick_host *host);
316void memstick_resume_host(struct memstick_host *host);
315 317
316void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc, 318void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc,
317 struct scatterlist *sg); 319 struct scatterlist *sg);