summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlex Dubov <oakad@yahoo.com>2008-03-10 11:43:38 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-10 18:01:18 -0700
commitd114ad54ffb020dc781b6159c1c2f391c6ec418f (patch)
treefbb4d6c263583bf3ec5de167124fd87cd28c2914 /include/linux
parente1f19995f55294fbb00ea22ba85d7b0d80ba3813 (diff)
downloadtalos-obmc-linux-d114ad54ffb020dc781b6159c1c2f391c6ec418f.tar.gz
talos-obmc-linux-d114ad54ffb020dc781b6159c1c2f391c6ec418f.zip
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.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);
void memstick_remove_host(struct memstick_host *host);
void memstick_free_host(struct memstick_host *host);
void memstick_detect_change(struct memstick_host *host);
+void memstick_suspend_host(struct memstick_host *host);
+void memstick_resume_host(struct memstick_host *host);
void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc,
struct scatterlist *sg);
OpenPOWER on IntegriCloud