diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/device.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 7abeead7bfe1..53a71f85ae59 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -379,6 +379,16 @@ extern void put_device(struct device * dev); /* drivers/base/sys.c */ +struct sys_root { + u32 id; + struct device dev; + struct device sysdev; +}; + +extern int sys_register_root(struct sys_root *); +extern void sys_unregister_root(struct sys_root *); + + struct sys_device { char * name; u32 id; |
