summaryrefslogtreecommitdiffstats
path: root/drivers/base/hypervisor.c
blob: 0c85e9d6a4485834e7110c9a54dbb47444ac110e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}
OpenPOWER on IntegriCloud