dt-bindings: mtd: ingenic: Use standard ecc-engine property
[linux/fpc-iii.git] / drivers / base / hypervisor.c
blob1ce59b4b53ceacad2b252c235d175e96d574ebcc
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * hypervisor.c - /sys/hypervisor subsystem.
5 * Copyright (C) IBM Corp. 2006
6 * Copyright (C) 2007 Greg Kroah-Hartman <gregkh@suse.de>
7 * Copyright (C) 2007 Novell Inc.
8 */
10 #include <linux/kobject.h>
11 #include <linux/device.h>
12 #include <linux/export.h>
13 #include "base.h"
15 struct kobject *hypervisor_kobj;
16 EXPORT_SYMBOL_GPL(hypervisor_kobj);
18 int __init hypervisor_init(void)
20 hypervisor_kobj = kobject_create_and_add("hypervisor", NULL);
21 if (!hypervisor_kobj)
22 return -ENOMEM;
23 return 0;