2006-05-09 18:53:49 +08:00
|
|
|
/*
|
|
|
|
* hypervisor.c - /sys/hypervisor subsystem.
|
|
|
|
*
|
2006-09-20 21:58:44 +08:00
|
|
|
* Copyright (C) IBM Corp. 2006
|
2006-05-09 18:53:49 +08:00
|
|
|
*
|
2006-09-20 21:58:44 +08:00
|
|
|
* This file is released under the GPLv2
|
2006-05-09 18:53:49 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/kobject.h>
|
|
|
|
#include <linux/device.h>
|
|
|
|
|
|
|
|
#include "base.h"
|
|
|
|
|
2007-10-17 00:11:44 +08:00
|
|
|
decl_subsys(hypervisor, NULL);
|
2006-05-09 18:53:49 +08:00
|
|
|
EXPORT_SYMBOL_GPL(hypervisor_subsys);
|
|
|
|
|
|
|
|
int __init hypervisor_init(void)
|
|
|
|
{
|
|
|
|
return subsystem_register(&hypervisor_subsys);
|
|
|
|
}
|