summaryrefslogtreecommitdiffstats
path: root/samples/kobject/kobject-example.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 13:41:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 13:41:42 +0100
commit07afb6ace3bde4ffdce26befa6b2f38c5d708dd0 (patch)
treeff6df9153ce6179f87a9127d8accbf369ccb651f /samples/kobject/kobject-example.c
parentsamples/kobject: Use kstrtoint instead of sscanf (diff)
downloadlinux-07afb6ace3bde4ffdce26befa6b2f38c5d708dd0.tar.xz
linux-07afb6ace3bde4ffdce26befa6b2f38c5d708dd0.zip
samples/kobject: be explicit in the module license
Rusty pointed out that the module license should be "GPL v2" to properly match the notice at the top of the files, so make that change. Reported-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kobject/kobject-example.c')
-rw-r--r--samples/kobject/kobject-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c
index 063aaece0bcd..2e0740f06cd7 100644
--- a/samples/kobject/kobject-example.c
+++ b/samples/kobject/kobject-example.c
@@ -142,5 +142,5 @@ static void __exit example_exit(void)
module_init(example_init);
module_exit(example_exit);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>");