mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
3282570990
Now that the SPDX tag is in all driver core files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Johannes Berg <johannes@sipsolutions.net> Cc: "Luis R. Rodriguez" <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
536 B
C
25 lines
536 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* hypervisor.c - /sys/hypervisor subsystem.
|
|
*
|
|
* Copyright (C) IBM Corp. 2006
|
|
* Copyright (C) 2007 Greg Kroah-Hartman <gregkh@suse.de>
|
|
* Copyright (C) 2007 Novell Inc.
|
|
*/
|
|
|
|
#include <linux/kobject.h>
|
|
#include <linux/device.h>
|
|
#include <linux/export.h>
|
|
#include "base.h"
|
|
|
|
struct kobject *hypervisor_kobj;
|
|
EXPORT_SYMBOL_GPL(hypervisor_kobj);
|
|
|
|
int __init hypervisor_init(void)
|
|
{
|
|
hypervisor_kobj = kobject_create_and_add("hypervisor", NULL);
|
|
if (!hypervisor_kobj)
|
|
return -ENOMEM;
|
|
return 0;
|
|
}
|