diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-06-23 06:51:46 +0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-23 06:51:46 +0400 |
commit | dbe1ab9514c231c9b062140a107d9dea0eabefcc (patch) | |
tree | 0001c7143cf923fc704215f0a0e54221e9e5cbb9 /drivers/base/hypervisor.c | |
parent | 612eff0e3715a6faff5ba1b74873b99e036c59fe (diff) | |
parent | d588fcbe5a7ba8bba2cebf7799ab2d573717a806 (diff) | |
download | linux-dbe1ab9514c231c9b062140a107d9dea0eabefcc.tar.xz |
Merge branch 'master' into upstream
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 @@ +/* + * hypervisor.c - /sys/hypervisor subsystem. + * + * This file is released under the GPLv2 + * + */ + +#include <linux/kobject.h> +#include <linux/device.h> + +#include "base.h" + +decl_subsys(hypervisor, NULL, NULL); +EXPORT_SYMBOL_GPL(hypervisor_subsys); + +int __init hypervisor_init(void) +{ + return subsystem_register(&hypervisor_subsys); +} |