Commit | Line | Data |
---|---|---|
4039483f MH |
1 | /* |
2 | * hypervisor.c - /sys/hypervisor subsystem. | |
3 | * | |
f19bfb2c | 4 | * Copyright (C) IBM Corp. 2006 |
4039483f | 5 | * |
f19bfb2c | 6 | * This file is released under the GPLv2 |
4039483f MH |
7 | */ |
8 | ||
9 | #include <linux/kobject.h> | |
10 | #include <linux/device.h> | |
11 | ||
12 | #include "base.h" | |
13 | ||
14 | decl_subsys(hypervisor, NULL, NULL); | |
15 | EXPORT_SYMBOL_GPL(hypervisor_subsys); | |
16 | ||
17 | int __init hypervisor_init(void) | |
18 | { | |
19 | return subsystem_register(&hypervisor_subsys); | |
20 | } |