summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@segfault.osdl.org>2002-03-25 22:26:46 -0800
committerPatrick Mochel <mochel@segfault.osdl.org>2002-03-25 22:26:46 -0800
commita0df92a42472b636998d39ce0255d5efaf56b61b (patch)
tree153a2105c7abed262bb59400f91314982d349a28 /include/linux/device.h
parentfba46407ee71baf4f4d0ebc3156920bc0318cd1d (diff)
Add device_{suspend,resume,shutdown} calls.
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 69797acdc546..b1858aa6a4ed 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -154,4 +154,9 @@ extern void put_device(struct device * dev);
extern int register_sys_device(struct device * dev);
extern void unregister_sys_device(struct device * dev);
+/* drivers/base/power.c */
+extern int device_suspend(u32 state, u32 level);
+extern void device_resume(u32 level);
+extern void device_shutdown(void);
+
#endif /* _DEVICE_H_ */