Driver core: keep PHYSDEV for old struct class_device
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / base / hypervisor.c
blob7080b413ddc9f6c475056adf161cf248321c9927
1 /*
2 * hypervisor.c - /sys/hypervisor subsystem.
4 * Copyright (C) IBM Corp. 2006
6 * This file is released under the GPLv2
7 */
9 #include <linux/kobject.h>
10 #include <linux/device.h>
12 #include "base.h"
14 decl_subsys(hypervisor, NULL, NULL);
15 EXPORT_SYMBOL_GPL(hypervisor_subsys);
17 int __init hypervisor_init(void)
19 return subsystem_register(&hypervisor_subsys);