[PATCH] Driver Core: Add /sys/hypervisor when needed
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / base / hypervisor.c
CommitLineData
4039483f
MH
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
13decl_subsys(hypervisor, NULL, NULL);
14EXPORT_SYMBOL_GPL(hypervisor_subsys);
15
16int __init hypervisor_init(void)
17{
18 return subsystem_register(&hypervisor_subsys);
19}