diff options
Diffstat (limited to 'drivers/base/hypervisor.c')
-rw-r--r-- | drivers/base/hypervisor.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/base/hypervisor.c b/drivers/base/hypervisor.c new file mode 100644 index 000000000000..0c85e9d6a448 --- /dev/null +++ b/drivers/base/hypervisor.c | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * hypervisor.c - /sys/hypervisor subsystem. | ||
3 | * | ||
4 | * This file is released under the GPLv2 | ||
5 | * | ||
6 | */ | ||
7 | |||
8 | #include <linux/kobject.h> | ||
9 | #include <linux/device.h> | ||
10 | |||
11 | #include "base.h" | ||
12 | |||
13 | decl_subsys(hypervisor, NULL, NULL); | ||
14 | EXPORT_SYMBOL_GPL(hypervisor_subsys); | ||
15 | |||
16 | int __init hypervisor_init(void) | ||
17 | { | ||
18 | return subsystem_register(&hypervisor_subsys); | ||
19 | } | ||