summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@segfault.osdl.org>2002-03-25 17:49:57 -0800
committerPatrick Mochel <mochel@segfault.osdl.org>2002-03-25 17:49:57 -0800
commit9294c63a3b3ac327909fd59d67435af373d4487d (patch)
tree0b113f0addf382c19574c82a0ad4520ff18d319c /include
parent085c9a18acd4003fa77cf852aa770e52b2ce6a71 (diff)
Add concept of system bus, so system devices (CPUs, PICs, etc) can have a common home in the device tree.
Add helper functions for {un,}registering.
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index f8234fdff19f..23423daa895c 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -143,4 +143,8 @@ static inline void get_device(struct device * dev)
extern void put_device(struct device * dev);
+/* drivers/base/sys.c */
+extern int register_sys_device(struct device * dev);
+extern void unregister_sys_device(struct device * dev);
+
#endif /* _DEVICE_H_ */